Hello,
I got WA.
Please provide me a test file for which my code output is wrong.
I used a well known algorithm for finding the number of atomic symbols.
[I will not name it because I suppose this is a spoiler.]
I think my bug is in reading the input and preparing the string which will be coded ...
Search found 10 matches
- Sun Jan 16, 2011 2:36 pm
- Forum: Volume 8 (800-899)
- Topic: 854 - Worse Code
- Replies: 9
- Views: 7233
- Mon Dec 31, 2007 7:02 am
- Forum: Volume 1 (100-199)
- Topic: 138 - Street Numbers
- Replies: 93
- Views: 21139
- Sun Dec 30, 2007 11:42 am
- Forum: Volume 1 (100-199)
- Topic: 138 - Street Numbers
- Replies: 93
- Views: 21139
Because you have the lines:
count will always be 0 in this if ...
It seems it is important that you learn to debug the code.
Set a breakpoint at line:
count++;
and watch the variable i.
Code: Select all
long count=0;
if(count==10)
It seems it is important that you learn to debug the code.
Set a breakpoint at line:
count++;
and watch the variable i.
- Sat Dec 29, 2007 7:46 pm
- Forum: Volume 1 (100-199)
- Topic: 138 - Street Numbers
- Replies: 93
- Views: 21139
Your code displays many times the same pair, like:
Code: Select all
6 8
6 8
6 8
6 8
6 8
...
- Fri Dec 21, 2007 5:31 pm
- Forum: Bugs and suggestions
- Topic: Over 8000000 datasets for a problem
- Replies: 2
- Views: 2244
- Tue Dec 18, 2007 7:06 pm
- Forum: Bugs and suggestions
- Topic: In judge queue ?
- Replies: 1
- Views: 2063
- Sun Dec 16, 2007 5:52 am
- Forum: Volume 1 (100-199)
- Topic: 151 - Power Crisis
- Replies: 56
- Views: 11666
- Thu Dec 13, 2007 5:48 am
- Forum: Bugs and suggestions
- Topic: Over 8000000 datasets for a problem
- Replies: 2
- Views: 2244
Over 8000000 datasets for a problem
10245 - The Closest Pair Problem
After some TLEs, I submited a source which just reads data and I found that there are over 8000000 datasets. :o
The time limit is set to 3 seconds, not to 8 seconds as reads in the problem statement.
8000000 datasets were read in near 3 seconds, but there are more ...
After some TLEs, I submited a source which just reads data and I found that there are over 8000000 datasets. :o
The time limit is set to 3 seconds, not to 8 seconds as reads in the problem statement.
8000000 datasets were read in near 3 seconds, but there are more ...
- Sun Dec 09, 2007 10:47 am
- Forum: Volume 107 (10700-10799)
- Topic: 10750 - Beautiful Points
- Replies: 21
- Views: 15248
- Fri Dec 07, 2007 11:16 am
- Forum: Volume 100 (10000-10099)
- Topic: 10034 - Freckles
- Replies: 101
- Views: 48920