ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1189. Pairs of Integers

How many pairs are there in this case ?

-------
123456788
385358
945872567
5842375
-------

Thank you very much !!!

Mail to dinhhongminh@yahoo.com
who can write the answers here,Thanks
Posted by qwt 25 Mar 2002 18:07
who can write the answers here,Thanks
Re: How many pairs are there in this case ?
Posted by Christos Mantoulidis 3 Aug 2006 16:00
In case anyone is interested (as the thread is ancient and the poster has probably got AC already), the results are:

123456788
8
106728394 + 16728394 = 123456788
111728394 + 11728394 = 123456788
112178394 + 11278394 = 123456788
112228394 + 11228394 = 123456788
112232894 + 11223894 = 123456788
112233394 + 11223394 = 123456788
112233439 + 11223349 = 123456788
112233444 + 11223344 = 123456788

---

385358
10
292679 + 92679 = 385358
342679 + 42679 = 385358
347679 + 37679 = 385358
350179 + 35179 = 385358
350279 + 35079 = 385358
350319 + 35039 = 385358
350324 + 35034 = 385358
350326 + 35032 = 385358
350329 + 35029 = 385358
352679 + 32679 = 385358

--

945872567
1
859884152 + 85988415 = 945872567

--

5842375
1
5311250 + 531125 = 5842375