Search found 70 matches
- Tue Oct 25, 2005 11:39 am
- Forum: Volume 109 (10900-10999)
- Topic: 10942 - Can of Beans
- Replies: 9
- Views: 4847
Hi Niaz, Ya, my second output is not correct here. Actually i used int64. Before submitting at uva i change it to long long. I'm just again check the code and replace long long to int64, now in shows the correct output which is -1. So, type casting may be the problem for giving the wrong output for ...
- Tue Oct 25, 2005 11:23 am
- Forum: Volume 109 (10900-10999)
- Topic: 10943 - How do you add?
- Replies: 38
- Views: 14116
Hi Sarah_S,
Your code produce trailing zero. Just ignore it. Like , for input
Correct output should be
But ur code generates
Hope it helps. Thanks in advance.
Your code produce trailing zero. Just ignore it. Like , for input
Code: Select all
6 46
Code: Select all
9460
Code: Select all
009460
- Sun Oct 23, 2005 9:15 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10940 - Throwing cards away II
- Replies: 28
- Views: 15073
- Thu Oct 20, 2005 12:04 am
- Forum: Volume 109 (10900-10999)
- Topic: 10928 - My Dear Neighbours
- Replies: 13
- Views: 8713
Hi,
Here is the link abt explanation of 10928. Let me know, If u face problem again after see this page. Good Luck.
http://online-judge.uva.es/board/viewtopic.php?t=9112
Here is the link abt explanation of 10928. Let me know, If u face problem again after see this page. Good Luck.
http://online-judge.uva.es/board/viewtopic.php?t=9112
- Sat Oct 15, 2005 3:56 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10942 - Can of Beans
- Replies: 9
- Views: 4847
Hi Saif, Here is the output for ur input. Hope it helps. Good Luck. -1 99 01 02 00 02 29 68 05 11 07 09 25 65 02 06 11 12 28 43 01 23 05 10 28 -1 96 07 23 39 05 10 10 12 13 65 08 14 69 04 09 58 08 12 42 02 11 36 03 14 05 07 15 49 03 29 06 11 30 02 10 15 22 01 24 41 11 30 01 09 14 24 06 25 83 10 19 1...
- Tue Oct 11, 2005 12:44 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10920 - Spiral Tap
- Replies: 12
- Views: 7654
- Mon Sep 12, 2005 4:10 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10065 - Useless Tile Packers
- Replies: 22
- Views: 6505
- Sat Sep 10, 2005 4:44 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10065 - Useless Tile Packers
- Replies: 22
- Views: 6505
10065
Hi all,
I need some i/o for this problem. I'm getting WA. Please someone provide me some i/o. Thanks in advance.
I need some i/o for this problem. I'm getting WA. Please someone provide me some i/o. Thanks in advance.
- Sat Sep 03, 2005 10:05 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10177 - (2/3/4)-D Sqr/Rects/Cubes/Boxes?
- Replies: 10
- Views: 5346
10177
Hi Antonio Ocampo,
Thanks for ur output. Actually my code was correct and matched with your output, but i missed the case n=0. After i edit then got ACC. Thanks again. Bye and good luck.
Thanks for ur output. Actually my code was correct and matched with your output, but i missed the case n=0. After i edit then got ACC. Thanks again. Bye and good luck.
- Sat Sep 03, 2005 8:43 pm
- 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?
Hi all,
Please give me correct outputs for the following inputs. Thanks in advance.
Please give me correct outputs for the following inputs. Thanks in advance.
Code: Select all
4
5
6
50
100
99
98
10
- Sun Aug 07, 2005 6:30 am
- Forum: Volume 108 (10800-10899)
- Topic: 10887 - Concatenation of Languages
- Replies: 49
- Views: 19943
10887 - Concatenation of Languages
Hi all,
I want to know how i solve this problem by using Hash. Without hashing is it solvable ? Thanks in advance.
I want to know how i solve this problem by using Hash. Without hashing is it solvable ? Thanks in advance.
- Tue Aug 02, 2005 7:01 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10878 - Decode the tape
- Replies: 23
- Views: 16724
10878 Decode the tape !!!!!!
Hi all, Though this is one of the very easy problem in the last contest and many ppl solved this problem during the contest, but i think the input description should be clear. Before i solved this problem , i assume that always input will be given by this way(given input), but assuming is not always...
- Mon Aug 01, 2005 6:31 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10321 - Polygon Intersection
- Replies: 17
- Views: 7717
Re
Hi Chok, Sorry 4 very late reply. Here is some i/o(also included the problem i/o) . Verify it. Good Luck. :D Input:- 5 3 0 3 4 1 1 -2 2 -2 0 5 3 1 4 2 -2 5 -3 1 0 2 4 3 0 5 2 3 3 1 2 4 3 1 5 3 3 5 1 3 3 0 0 0 2 2 2 4 5 5 5 10 10 10 10 5 4 1 1 5 1 5 5 1 5 4 3 0 6 3 3 6 0 3 2 Output :- 7 -2.00 1.33 -2...
- Fri Jul 29, 2005 4:12 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10875 - Big Math
- Replies: 27
- Views: 5676
<>
Hi James, You didnt mention which RTE u get. I dont think that u got SIGFPE(floating point exception), bcoz the problem statement cleary says that "there are no divide-by-zero errors". Most probably segment violation. So, check invalid memory access. For ur kind information, i use num[20] ...
- Fri Jul 29, 2005 6:34 am
- Forum: Volume 108 (10800-10899)
- Topic: 10875 - Big Math
- Replies: 27
- Views: 5676
Hi James, I think it'll better if u share your process with us or you can send your code by pm. Another things, in this type of problem, in my opinion, if u writing n'th line code then u must be sure that 1 to n-1 lines are perfect and bug free. I mean for proceed one line u have to sure that upto t...