Search found 23 matches

by Wei
Tue Oct 26, 2004 4:36 pm
Forum: Volume 3 (300-399)
Topic: 332 - Rational Numbers from Repeating Fractions
Replies: 83
Views: 20268

332 about RunTime Error~~

Well~I got runtime error for thie questions so many times. It always tell SIGFPE.But I even don't understand well about this. Could anybody help me to fix the wrong??? [c]#include <stdio.h> #include <stdlib.h> #include <math.h> int main(void) { int j,a[12]={0},k,ans_a,ans_b,all,i,all_1,co=0; char ch...
by Wei
Sun Oct 24, 2004 4:47 am
Forum: Volume 103 (10300-10399)
Topic: 10377 - Maze Traversal
Replies: 26
Views: 9792

Well~forget about the last message I post...
Now...I got an AC~~
by Wei
Sun Oct 24, 2004 4:45 am
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 67890

Well~~Thx for the advice...
Now~~I got an AC(P.E.)...and I know where is wrong~~~
I use the Dev.C++...
by Wei
Sat Oct 23, 2004 5:17 am
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 67890

10189...With WA...

I don't know where is wrong... I tried to do with some datas~~~but the judge still gave WA~ Could somebody help me with this??? [c]#include <stdio.h> #include <stdlib.h> int main(void) { unsigned long n[105][105]={0},i,j,a,b,co,lead=1; char ch[0]; scanf("%lu %lu",&a,&b); while(a!=0&&b!=0) { int n[10...
by Wei
Wed Oct 20, 2004 1:26 pm
Forum: Volume 103 (10300-10399)
Topic: 10377 - Maze Traversal
Replies: 26
Views: 9792

10377~~With always W.A...

I alwas got W.A Well~I don't know where is wrong?? Can anybody help me??? #include <stdio.h> #include <stdlib.h> int main(void) { int a,m,n,i,j,k,maze[63][63]={0},d; char b[0]; scanf("%d",&a); for(i=1;i<=a;i++) { d=1; scanf("%d %d",&m,&n); scanf("%c",&b); for(j=1;j<=m;j++) { for(k=1;k<=n;k++) { scan...
by Wei
Mon Oct 04, 2004 3:53 pm
Forum: Volume 7 (700-799)
Topic: 713 - Adding Reversed Numbers
Replies: 142
Views: 40628

Well~~Thx for giving me so many test datas.
But I still got WA~~
And I didn't know why when input were 10 10, the output should be 20???
by Wei
Tue Sep 28, 2004 9:09 am
Forum: Volume 7 (700-799)
Topic: 713 - Adding Reversed Numbers
Replies: 142
Views: 40628

I don't know why~~
I have the right answers for these test datas...
But I still get a WA~~~
Could somebody give me some special test datas??
by Wei
Mon Aug 02, 2004 10:58 am
Forum: Volume 5 (500-599)
Topic: 591 - Box of Bricks
Replies: 80
Views: 11271

591...I got an Accepted P.E.

I got an Accepted P.E...But I didn't know why~~~ Can someone tell me??? [c] #include <stdio.h> #include <stdlib.h> int main() { int a,i,b,sum,c,min,k; scanf("%d",&a); k=1; while (a!=0) { int num[a],ans[a]; num[a]=0; sum=0; min = 0; for (i=1;i<=a;i++) { scanf("%d",&b); num =b; sum = sum+num ; } c = s...

Go to advanced search