Just a little correction in the test cases posted by neilor -
TC#66 is wrong -
it should be
3 1 0 2
0 2 103
instead of
2 1 0 2
0 2 103
since the nodes are number from 0 to n-1.
Thanks for the cases. It helped a lot.
Search found 3 matches
- Sat Mar 19, 2011 7:26 am
- Forum: Volume 109 (10900-10999)
- Topic: 10986 - Sending email
- Replies: 65
- Views: 29179
- Fri Mar 04, 2011 6:00 pm
- Forum: General
- Topic: Cannot get 0.000 anymore?
- Replies: 3
- Views: 9956
Do we get 0.000 anymore?
The following code submitted for 11687 gets WA in 0.004 secs. As you can see, the code does nothing. Just ends :D . Still 0.004 secs !!! :-? int main() { return 0; } Does anyone gets 0.00 anymore. Also, I have noticed, the same code gets different runtimes when run at different times. Like the same ...
- Wed Jan 05, 2011 11:44 pm
- Forum: Volume 5 (500-599)
- Topic: 507 - Jill Rides Again
- Replies: 92
- Views: 32497
Re: 507 - Jill rides again
what should be the output for this? 2 7 1 2 3 -34 3 3 7 3 3 -34 1 2 3 The problem says - If more than one segment is maximally nice, choose the one with the longest cycle ride (largest j-i). according to that, shouldn't be the output be The nicest part of route 1 is between stops 1 and 4 The nicest ...