I've worked hours on this problem but I still got WA.Is there any trick in this problem?Are there empty lines in the input?
By the way,I've got several test cases:
[c]
A2W S1N W
GO STRAIGHT 2
TURN LEFT
TURN LEFT
GO 2
TURN LEFT
STOP
A2W S1N W
GO STRAIGHT 2
TURN LEFT
TURN LEFT
GO 1
TURN LEFT
STOP
A2W ...
Search found 73 matches
- Wed Nov 19, 2003 4:15 pm
- Forum: Volume 1 (100-199)
- Topic: 163 - City Directions
- Replies: 24
- Views: 14788
- Mon Nov 17, 2003 2:41 pm
- Forum: Other words
- Topic: the judge is down?
- Replies: 5
- Views: 2514
the judge is down?
I got this when I try to check the online judge status:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything ...
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything ...
- Wed Jan 22, 2003 3:56 pm
- Forum: Volume 1 (100-199)
- Topic: 150 - Double Time
- Replies: 18
- Views: 7787
- Wed Jan 22, 2003 3:01 pm
- Forum: Volume 1 (100-199)
- Topic: 150 - Double Time
- Replies: 18
- Views: 7787
[150]WA
My method is building up a array that denote each day in both old and new style.Suppose that 1 January 1600 in new style is the first day(=22 December 1599 in old style),and so on.
I've checked almost every test data.(I used a program to print everyday from 1 January 1600 to 31 December 2099).And ...
I've checked almost every test data.(I used a program to print everyday from 1 January 1600 to 31 December 2099).And ...
- Sat Dec 21, 2002 2:48 pm
- Forum: Volume 1 (100-199)
- Topic: 116 - Unidirectional TSP
- Replies: 226
- Views: 65146
I think everyone get WA can try this:
Althought I still get WA(I'm trying to find the mistake
),but I think this is a test case that many program will make mistake.
Code: Select all
input:
6 7
1 9 9 1 9 9 9
9 1 1 9 9 9 9
9 9 9 9 1 1 1
9 9 9 1 9 9 9
9 9 1 9 9 9 9
9 1 9 9 1 1 1
output:
1 2 2 1 6 6 6
7

- Sat Dec 21, 2002 2:07 pm
- Forum: Volume 1 (100-199)
- Topic: 138 - Street Numbers
- Replies: 93
- Views: 21105
- Thu Dec 19, 2002 2:44 pm
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 116158
- Thu Dec 19, 2002 2:27 pm
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 116158
- Wed Dec 18, 2002 3:29 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10018 - Reverse and Add
- Replies: 169
- Views: 43698
- Wed Dec 18, 2002 3:07 pm
- Forum: Volume 4 (400-499)
- Topic: 488 - Triangle Wave
- Replies: 270
- Views: 64291
- Wed Dec 18, 2002 2:42 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10416 - Folding My T-Shirt
- Replies: 13
- Views: 9257
- Mon Dec 16, 2002 3:17 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10416 - Folding My T-Shirt
- Replies: 13
- Views: 9257
- Sat Dec 14, 2002 2:52 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10416 - Folding My T-Shirt
- Replies: 13
- Views: 9257
- Sat Dec 14, 2002 4:06 am
- Forum: Volume 100 (10000-10099)
- Topic: 10069 - Distinct Subsequences
- Replies: 26
- Views: 19764
10069 - Distinct Subsequences
I really have no idea that why I got WA(I thought it was just a simple DP problem).
Is there any special test case?
I'll put my WA code below.
[cpp]
#include <stdio.h>
#include <string.h>
#define MAX 10000
#define max 100
#define _MAX_SIZE 101
#define BIGNUM
#ifndef stdio
#include <stdio.h ...
Is there any special test case?
I'll put my WA code below.
[cpp]
#include <stdio.h>
#include <string.h>
#define MAX 10000
#define max 100
#define _MAX_SIZE 101
#define BIGNUM
#ifndef stdio
#include <stdio.h ...
- Thu Mar 28, 2002 3:23 pm
- Forum: Volume 1 (100-199)
- Topic: 139 - Telephone Tangles
- Replies: 66
- Views: 15726