I got WA in this problem.
But I have no idea what's wrong with my code.
I deal with the leading zero, and make it illigal.
Cound anyone give me some test cases???
Thank you!
Search found 5 matches
- Wed Aug 11, 2004 5:36 pm
- Forum: Volume 6 (600-699)
- Topic: 695 - Placing the Ops
- Replies: 6
- Views: 2888
- Fri Jul 18, 2003 6:49 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10193 - All You Need Is Love
- Replies: 23
- Views: 13913
can someone answer me??
what is the correct output when input are:
1
1
and
0
0
or is there any special input??
i always got WA....
1
1
and
0
0
or is there any special input??
i always got WA....

- Mon Jul 07, 2003 10:07 am
- Forum: Volume 103 (10300-10399)
- Topic: 10377 - Maze Traversal
- Replies: 26
- Views: 14446
always WA~
are there any special input for this problem?
cause i got WA but can't find out why :(
can anybody help me~~
#include<stdio.h>
#include<string.h>
int arr[61][61];
int main(void)
{
int count,nl=0;
char cmd;
scanf("%d",&count);
while (count)
{
int row,col,i,j,x,y,direct=0,dir;
scanf("%d %d ...
cause i got WA but can't find out why :(
can anybody help me~~
#include<stdio.h>
#include<string.h>
int arr[61][61];
int main(void)
{
int count,nl=0;
char cmd;
scanf("%d",&count);
while (count)
{
int row,col,i,j,x,y,direct=0,dir;
scanf("%d %d ...
- Mon Apr 28, 2003 2:45 pm
- Forum: Volume 7 (700-799)
- Topic: 740 - Baudot Data Communication Code
- Replies: 7
- Views: 3629
help me~
Is there any special input for this problem?
I've tested many input data and got correct answer in my computer..
but still got a WA!
Can anyone take a look at my code??
thanks a lot~~
[c]
#include<stdio.h>
char table[2][33],str[200],*p;
int i,code[100],count;
void encode(void)
{
i=0;
while (code ...
I've tested many input data and got correct answer in my computer..
but still got a WA!
Can anyone take a look at my code??
thanks a lot~~
[c]
#include<stdio.h>
char table[2][33],str[200],*p;
int i,code[100],count;
void encode(void)
{
i=0;
while (code ...
- Sun Feb 23, 2003 7:38 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10405 - Longest Common Subsequence
- Replies: 103
- Views: 44127
WAWAWA!!!
I've tried all test data i can find..
but still got a WA!
can anyone take a look on my code? :cry:
[color=blue][/color]
#include<stdio.h>
#include<string.h>
int main()
{
int length1,length2,i,j,k;
char temp,arr1[1001],arr2[1001];
while (gets(arr1))
{
int max=0,count,temp;
gets(arr2 ...
but still got a WA!
can anyone take a look on my code? :cry:
[color=blue][/color]
#include<stdio.h>
#include<string.h>
int main()
{
int length1,length2,i,j,k;
char temp,arr1[1001],arr2[1001];
while (gets(arr1))
{
int max=0,count,temp;
gets(arr2 ...