ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1007. Code Words

"There are no more than 1000 words in the file." seems to be wrong!
Posted by Black Shark 10 Sep 2008 00:01
const int MAXM = 1000; // Crash (access violation)
const int MAXN = 2000;
char buf[MAXN]; // input buffer
string data[MAXM]; // here all strings contains

Using MAXM = 1000 I got Crash (access violation) on Test 3. After changing to MAXM = 2000 I got AC.

Edited by author 10.09.2008 00:02
Right! The statement is fixed. Thank you. (-)
Posted by Sandro (USU) 10 Sep 2008 10:54