Yes, a 'X' may only appear at the 10th position.
Very Strange, don't know what else may be wrong.
BUT:
Your program says:
0-89237-010-6 TEST is incorrect.
My program says:
0-89237-010-6 TEST is correct.
Although '0-89237-010-6 TEST' is obviously wrong. Seems that there are no such testcases ...
Search found 5 matches
- Sat May 07, 2005 8:26 am
- Forum: Volume 3 (300-399)
- Topic: 333 - Recognizing Good ISBNs
- Replies: 166
- Views: 40690
- Fri May 06, 2005 8:42 pm
- Forum: Volume 3 (300-399)
- Topic: 333 - Recognizing Good ISBNs
- Replies: 166
- Views: 40690
- Tue Feb 08, 2005 3:25 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10081 - Tight Words
- Replies: 16
- Views: 9542
10081 (Tight Words) - Wrong Answer
I'm trying to solve 10081, Tight words, but I'm getting WA all the time.
Can anybody give me the number of tight words for input '9 100' ?
I know that this is not asked, but this is part of the solution.
My program says 1069966138. Is this correct?
Or maybe someone has some input/output for ...
Can anybody give me the number of tight words for input '9 100' ?
I know that this is not asked, but this is part of the solution.
My program says 1069966138. Is this correct?
Or maybe someone has some input/output for ...
- Fri Feb 04, 2005 6:43 pm
- Forum: Volume 1 (100-199)
- Topic: 123 - Searching Quickly
- Replies: 55
- Views: 12616
- Thu Jan 27, 2005 10:30 am
- Forum: Volume 1 (100-199)
- Topic: 116 - Unidirectional TSP
- Replies: 226
- Views: 65207
Try this:
Code: Select all
Input:
4 4
3 3 3 3
3 3 3 3
3 3 3 1
1 1 1 1
4 4
3 3 3 1
3 3 3 3
3 3 3 1
1 1 1 1
4 4
3 3
3 1 3 3 3
3 3 3 3 1 1
1 1 1
4 6
1 1 1 3 3 1
3 3 3 1 3 1
1 1 1 1 1 3
3 3 3 3 1 1
Output:
4 4 4 3
4
4 4 4 1
4
4 4 4 1
4
1 1 1 2 3 2
6