DWITE Round 5, Q#4: About test data
Author |
Message |
YYSS
|
Posted: Tue Feb 12, 2008 6:59 pm Post subject: DWITE Round 5, Q#4: About test data |
|
|
Some lines in test data do not have exactly 10 characters, as described in the question and sample input:
Quote: The input file DATA4.txt will contain 5 sets of data -- N lines per set, 10 characters in length.....
This results ACCESS_VIOLATION runtime error in my C program, because it reads exactly 10 char per line....maybe I misunderstand the question |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Dan
|
Posted: Tue Feb 12, 2008 7:09 pm Post subject: RE:DWITE Round 5, Q#4: About test data |
|
|
I am prity sure they did, the test case being displayed on the dwite site has the spaces removed becues of html (it does not display the extra spaces) if you look at the score of the page you can see they are there in the html file.
I will try to update the dwite site to show spaces in the testcases, but from what i can tell they where there in the aucatly DATA4.txt file. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
|
Dan
|
Posted: Tue Feb 12, 2008 8:06 pm Post subject: RE:DWITE Round 5, Q#4: About test data |
|
|
I have updated the site to display the test case data correctly (like DATA4.txt would have been) and you can view it now at: http://dwite.org/home/testcase/61
If you find somthing worng let me know. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
|
|
|