I finally figured out how to get past the TLE. Unfortunately now I have WA on PC and RTE on UVA. Can anybody give out some test cases? I did a simple one like this:
1
12 16
Erdos, P., C, C: asdf
Erdos, P., B, B: asdf
Erdos, P., A, A: asdfa
B, B, G, G: asdf
A, A, H, H: asdf
H, H, I, I: asdf
I, I, J ...
Search found 3 matches
- Mon Sep 24, 2007 4:33 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10044 - Erdos Numbers
- Replies: 102
- Views: 55439
- Sun Sep 23, 2007 4:54 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10050 - Hartals
- Replies: 59
- Views: 29920
- Thu Aug 16, 2007 12:07 am
- Forum: Volume 100 (10000-10099)
- Topic: 10050 - Hartals
- Replies: 59
- Views: 29920
What am I doing wrong?
I have tried my program with all the sample input from the four threads on Hartals and it works perfectly for all of them. What am I missing? Thanks in advance.
Code: Select all
Figured out my problem.