Search found 17 matches
- Sat Jan 21, 2017 7:46 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10689 - Yet another Number Sequence
- Replies: 22
- Views: 14850
Re: 10689 - Yet another Number Sequence
I have used the input given earlier in this thread: 16 0 1 14 1 0 1 24 1 0 1 74 1 25 67 3 1 98 25 1000000000 1 0 1 9842 2 34 88 224242 2 100 100 10 2 56 24 83943 3 89 14 983821 3 1 100 1000000000 4 45 64 999999999 4 0 0 100000 4 100 90 0 4 41 67 1 3 55 89 2 4 and I am getting expected out as well, s...
- Fri Aug 01, 2014 7:26 am
- Forum: Volume 111 (11100-11199)
- Topic: 11130 - Billiard bounces
- Replies: 12
- Views: 6632
Re: 11130 - Billiard bounces
here's my modified code http://ideone.com/2rmUXu, it gives the same output as yours, still WA.
- Mon Jul 28, 2014 1:58 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11130 - Billiard bounces
- Replies: 12
- Views: 6632
Re: 11130 - Billiard bounces
Hi, my code runs fine on the inputs that you prepared, still I got WA.Can you please check my code --> http://ideone.com/kevO4T ?
Thanks.
Thanks.
- Sat Jul 26, 2014 1:14 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10459 - The Tree Root
- Replies: 30
- Views: 14841
Re: 10459 - The Tree Root
How to find the best roots for this problem?
- Sat Mar 29, 2014 2:15 pm
- Forum: Volume 5 (500-599)
- Topic: 599 - The Forrest for the Trees
- Replies: 18
- Views: 10721
599-The forest for the trees
here is the problem statement: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=540 Can I solve it in this manner? First count the no. of vertices and edges in the graph. Then using a bitset of size 26 , mark the vertices whic...
- Sun Mar 09, 2014 9:32 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10258 - Contest Scoreboard
- Replies: 87
- Views: 45186
Re: 10258 - Contest Scoreboard
hi Brianfry713, for the 2nd-last test case in your sample test input, shouldn't the value of penalty for 69 be 120 instead of 100 ? because the question says that 20 min will be added to the penalty for each incorrect solution prior to the correct solution.
- Wed Feb 19, 2014 1:02 pm
- Forum: Volume 115 (11500-11599)
- Topic: 11503 - Virtual Friends
- Replies: 49
- Views: 25322
Re: 11503 - Virtual Friends
I have added the new line , still it says WA. here's the modified code: http://ideone.com/evOPNK
- Wed Feb 19, 2014 12:07 pm
- Forum: Volume 115 (11500-11599)
- Topic: 11503 - Virtual Friends
- Replies: 49
- Views: 25322
Re: 11503 - Virtual Friends
brianfry713, my code gives the same output as expected on the sample test that you gave. I checked it using the 'diff' command in linux. But on submission I got WA, can you please help me know what is wrong? I have commented my code .It is here : http://ideone.com/uMYQpa
- Sat Feb 15, 2014 10:47 pm
- Forum: Volume 123 (12300-12399)
- Topic: 12394 - Peer Review
- Replies: 6
- Views: 1187
Re: 12394 - Peer Review
I too have a doubt on this question. for input: 2 3 UCM 2 3 UAM 1 2 UPM 2 2 0 0 the AC output is 3 problems. Shouldn't there be 5 problems? which are.. 1.) paper 1 reviewed only once. 2.) paper 3 reviewed only once. 3.)paper 2 reviewed more then twice (in total). 4.)paper 2 reviewed more then once b...
- Wed Feb 12, 2014 5:41 am
- Forum: Volume 102 (10200-10299)
- Topic: 10226 - Hardwood Species
- Replies: 121
- Views: 52026
Re: 10226 - Hardwood Species submission error?
@brianfry No. I did not get AC for this code. It shows WA.Can please you look into the code and tell if you find anything wrong?
- Tue Feb 11, 2014 9:17 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10226 - Hardwood Species
- Replies: 121
- Views: 52026
Re: 10226 - Hardwood Species submission error?
There are a few common pitfalls in this problem.Be sure to check the following: 1.)Between two input test cases, there is a blank line. 2.)There is EOF at the end of the last case , not a blank line. 3.)The names of the trees should be sorted in the output. 4.)Output cases should be separated by a p...
- Tue Feb 11, 2014 7:21 pm
- Forum: Volume 2 (200-299)
- Topic: 299 - Train Swapping
- Replies: 81
- Views: 21034
Re: 299 why worng answer? please help me
This gives the correct answer to all the test cases. Also, it works fine if the length of the train is 0. But on submission I got RE .Can someone help me know the possible reason for the RE. import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.Inpu...
- Fri Feb 07, 2014 9:56 pm
- Forum: Volume 125 (12500-12599)
- Topic: 12516 - Cinema-cola
- Replies: 4
- Views: 758
Re: 12516-RE
I have rectified that problem ,it gives the correct answer to cases like you suggested but the OJ gives a RE .Is there something wrong in the logic of the program? Here's the code : //package pkg12516_java; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; imp...
- Wed Feb 05, 2014 12:33 pm
- Forum: Volume 125 (12500-12599)
- Topic: 12516 - Cinema-cola
- Replies: 4
- Views: 758
12516-RE
My code for 12516 gave all the correct outputs on my machine but on submission,got Runtime Error at 0 sec( does that mean the program did not even run on the online compiler? ). Could someone tell me where is the code incorrect ? //package pkg12516_java; import java.io.BufferedReader; import java.io...
- Tue Feb 04, 2014 11:56 am
- Forum: Volume 122 (12200-12299)
- Topic: 12205 - Happy Telephones
- Replies: 4
- Views: 1433
Re: 12205 - Happy Telephones
I have a had a few times when my queries slipped unnoticed on the chat.I didn't get any reply for sometime today so I thought may be it was better to post the doubt here.