Search found 293 matches
- Sun Oct 21, 2007 7:34 am
- Forum: Java
- Topic: Input data - Compile Error
- Replies: 4
- Views: 4415
- Fri Sep 14, 2007 6:09 pm
- Forum: Bugs and suggestions
- Topic: You have -2 tries left
- Replies: 6
- Views: 2828
I had some problems logging into the new judge server. I provided the right username and password but was directed back to the log in page. My account is activated but was locked as I tried many times to get the registration activation e-mail to be sent to the e-mail address I provided. Is it possib...
- Sat Sep 08, 2007 9:04 am
- Forum: Bugs and suggestions
- Topic: 496 - Simply Subsets
- Replies: 6
- Views: 4527
Hi,
Check this part of your code:
You declared a char pointer c pointing to NULL. Then the next line deferences c (pointing to NULL) and this will give a runtime error.
Hope this helps.
Check this part of your code:
Code: Select all
char* c = NULL;
*c = '\0';
Hope this helps.
- Thu Aug 23, 2007 6:40 am
- Forum: Volume 112 (11200-11299)
- Topic: 11218 - KTV
- Replies: 11
- Views: 6606
Try the following case:
Input:
Output:
Input:
Code: Select all
3
1 2 3
3 4 5
4 5 7
0
Code: Select all
Case 1: -1
- Sat Aug 04, 2007 4:04 pm
- Forum: Java
- Topic: Why this code generate compile time error?
- Replies: 2
- Views: 4215
- Mon Jul 23, 2007 5:11 pm
- Forum: Java
- Topic: Data type in java
- Replies: 4
- Views: 4295
- Fri Jul 06, 2007 6:23 pm
- Forum: C++
- Topic: How to check for blank line?
- Replies: 5
- Views: 3910
- Thu Jun 28, 2007 5:39 pm
- Forum: Volume 1 (100-199)
- Topic: 122 - Trees on the level
- Replies: 103
- Views: 12540
- Sat Jun 23, 2007 12:34 pm
- Forum: C++
- Topic: why is it not working? help from any geek?
- Replies: 2
- Views: 2344
- Sun Jun 10, 2007 4:58 pm
- Forum: C
- Topic: Complie error
- Replies: 4
- Views: 5815
One possible reason could be the use of C++ style comments in C code -
Usually, this should compile with gcc but the judge's version of gcc won't compile this.
Code: Select all
// comment
- Tue Jun 05, 2007 5:06 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 209654
Code: Select all
while (cin >> a >> b)
{
// process input
}
- Thu Apr 26, 2007 5:37 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 93626
My AC program has a slightly different output than the one above. My AC program outputs: Jolly Not jolly Not jolly Jolly Jolly Not jolly Jolly Jolly Jolly Not jolly Not jolly Jolly Jolly Not jolly Jolly Not jolly Jolly As for which one is correct, it all comes down to the following input: 1 2 Since ...
- Sun Jan 07, 2007 10:28 am
- Forum: Volume 4 (400-499)
- Topic: 444 - Encoder and Decoder
- Replies: 155
- Views: 25382
- Sun Jan 07, 2007 10:24 am
- Forum: Bugs and suggestions
- Topic: 444 - Encoder and Decoder - PE Issue
- Replies: 4
- Views: 2733
I added in checking for blank lines. And there are blank lines in the judge input. The blank lines occur right at the end of the judge input based on my current AC code which checks for blank lines. I am certain there are no blank lines in the middle of the judge input or my code would have gotten a...
- Sun Jan 07, 2007 4:59 am
- Forum: Volume 4 (400-499)
- Topic: 444 - Encoder and Decoder
- Replies: 155
- Views: 25382