Search found 23 matches
- Sun Sep 09, 2007 9:50 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11260 - Odd Root Sum
- Replies: 22
- Views: 11895
There is no cause to pass the TLE. Because the complexity of your algorithm is O(n). Just look at the line of the problem statement. Each line contains a single 64-nit signed integer which denotes the value of n. Your can't pass TLE with complexity of O(sqrt(n)) or O(lg n). You must find result in e...
- Fri Sep 07, 2007 9:00 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11266 - Equations
- Replies: 15
- Views: 5585
- Fri Jun 15, 2007 3:19 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10162 - Last Digit
- Replies: 21
- Views: 9183
- Fri Jun 15, 2007 2:21 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10177 - (2/3/4)-D Sqr/Rects/Cubes/Boxes?
- Replies: 10
- Views: 5346
- Wed May 30, 2007 7:20 am
- Forum: Volume 112 (11200-11299)
- Topic: 11201 - The problem of the crazy linguist
- Replies: 21
- Views: 10479
- Fri May 18, 2007 11:14 am
- Forum: Volume 9 (900-999)
- Topic: 993 - Product of digits
- Replies: 19
- Views: 12951
- Sat Mar 10, 2007 9:54 am
- Forum: Volume 111 (11100-11199)
- Topic: 11186 - Circum Triangle
- Replies: 18
- Views: 7777
- Sat Mar 10, 2007 9:42 am
- Forum: Volume 101 (10100-10199)
- Topic: 10177 - (2/3/4)-D Sqr/Rects/Cubes/Boxes?
- Replies: 10
- Views: 5346
10177 ((2/3/4)-D Sqr/Rects/Cubes/Boxes?)
I found my mistake and got accepted. Thnx to all viewers. So i post the correct output for some input and output: INPUT: 0 4 99 100 OUTPUT: 0 0 0 0 0 0 30 70 100 900 354 9646 328350 24174150 24502500 121262872500 1950333330 600370555916670 338350 25164150 25502500 128762122500 2050333330 65037545591...