Search found 31 matches
- Sun Sep 30, 2018 4:28 pm
- Forum: Volume 6 (600-699)
- Topic: 627 - The Net
- Replies: 18
- Views: 6673
Re: 627 - The Net
Not too sure what is wrong with the code, I have tried the inputs from uDebug and got everything correct. but keeps getting WA on UVa. Anyone has any better test case for me to try out? #include <bits/stdc++.h> #define FOR(i,a,b) for(int i=(a);i<(int)(b);++i) #define MAX(a,b) ((a)>(b)?(a):(b)) #defi...
- Sat Feb 07, 2015 7:16 am
- Forum: Volume 128 (12800-12899)
- Topic: 12841 - In Puzzleland (III)
- Replies: 1
- Views: 619
- Tue Jan 20, 2015 7:09 am
- Forum: Volume 110 (11000-11099)
- Topic: 11013 - Get Straight
- Replies: 12
- Views: 4517
Re: 11013 - Get Straight
AC
Test Case that caused my code to fail.
AD AH AS KD KH
AC Output:
Stay
Hope this helps =)
Test Case that caused my code to fail.
AD AH AS KD KH
AC Output:
Stay
Hope this helps =)
- Mon Jan 19, 2015 9:14 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11013 - Get Straight
- Replies: 12
- Views: 4517
Re: 11013 - Get Straight WA
I have passed all the random input from udebug. But I am still getting WA. Can someone provide more random inputs? 7D TD 5C 4H AC AD 8H TS JH 5H # My output for the above list is: Exchange TD Exchange AD The output from udebug is: Exchange AC Exchange 5H Can someone tell me why is there a difference...
- Sun Jan 11, 2015 11:09 am
- Forum: Volume 120 (12000-12099)
- Topic: 12047 - Highest Paid Toll
- Replies: 8
- Views: 2180
- Sat Jan 03, 2015 6:41 am
- Forum: Volume 120 (12000-12099)
- Topic: 12047 - Highest Paid Toll
- Replies: 8
- Views: 2180
- Sat Dec 13, 2014 2:10 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10567 - Helping Fill Bates
- Replies: 15
- Views: 7626
Re: 10567 - Helping Fill Bates
thx brianfry for the test cases. =)
- Thu Dec 11, 2014 2:15 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10963 - The Swallowing Ground
- Replies: 47
- Views: 12056
Re: 10963 - The Swallowing Ground
oops... silly mistake. D=brianfry713 wrote:You are resetting diff to 2000000000 at every column.
You will also need to continue reading the input all the way to the end even if the gaps don't match.
- Thu Dec 11, 2014 8:49 am
- Forum: Volume 105 (10500-10599)
- Topic: 10567 - Helping Fill Bates
- Replies: 15
- Views: 7626
Re: 10567 - Helping Fill Bates
Got WA, but passed the test cases by brianfry.
I am wondering what am i missing here.

I am wondering what am i missing here.
Code: Select all
AC
- Mon Dec 08, 2014 10:34 am
- Forum: Volume 4 (400-499)
- Topic: 483 - Word Scramble
- Replies: 122
- Views: 19974
Re: 483 - Word Scramble
Thanks.lighted wrote:Increase value of size by 1 for '\0' character.
- Mon Dec 08, 2014 10:32 am
- Forum: Volume 109 (10900-10999)
- Topic: 10963 - The Swallowing Ground
- Replies: 47
- Views: 12056
Re: 10963 - The Swallowing Ground
Code: Select all
AC
- Sat Dec 06, 2014 6:28 pm
- Forum: Volume 4 (400-499)
- Topic: 483 - Word Scramble
- Replies: 122
- Views: 19974
Re: 483 - Word Scramble Runtime Error
The following code executes perfectly fine on my machine but gets RE on UVa.
Can someone tell me where the source of RE is in this piece of code? perhaps a test case that can cause RE will be much appreciated. 
Code: Select all
AC

- Thu Dec 04, 2014 8:02 pm
- Forum: Volume 3 (300-399)
- Topic: 341 - Non-Stop Travel
- Replies: 38
- Views: 11583
- Sun Aug 17, 2014 10:38 am
- Forum: Volume 107 (10700-10799)
- Topic: 10755 - Garbage Heap
- Replies: 20
- Views: 10656
Re: 10755 - Garbage Heap
Is this a 3D RSQ?
- Sun Aug 17, 2014 10:34 am
- Forum: Volume 109 (10900-10999)
- Topic: 10928 - My Dear Neighbours
- Replies: 13
- Views: 8071
Re: 10928 - My Dear Neighbours
Runtime Error on my following code. Can someone tell me why?
AC'ed
AC'ed