Search found 5 matches

by justforfun
Wed Aug 11, 2004 5:36 pm
Forum: Volume 6 (600-699)
Topic: 695 - Placing the Ops
Replies: 6
Views: 2223

695 Placing the Ops (WA)

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!
by justforfun
Fri Jul 18, 2003 6:49 pm
Forum: Volume 101 (10100-10199)
Topic: 10193 - All You Need Is Love
Replies: 23
Views: 9748

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.... :cry:
by justforfun
Mon Jul 07, 2003 10:07 am
Forum: Volume 103 (10300-10399)
Topic: 10377 - Maze Traversal
Replies: 26
Views: 9995

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",&row,&col)...
by justforfun
Mon Apr 28, 2003 2:45 pm
Forum: Volume 7 (700-799)
Topic: 740 - Baudot Data Communication Code
Replies: 7
Views: 2625

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 ) {...
by justforfun
Sun Feb 23, 2003 7:38 pm
Forum: Volume 104 (10400-10499)
Topic: 10405 - Longest Common Subsequence
Replies: 103
Views: 30343

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); length1=strlen(...

Go to advanced search