Search found 3 matches

by AikoSenoo
Sun Jul 22, 2007 11:26 am
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 61649

Need Help!

I used a very brute way to solve it, but I got WA. I've tried all the test input in this topic, and there isn't anything wrong. Would anyone please help me? #include<stdio.h> int main(void){ int primes[10001] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
by AikoSenoo
Sat Jul 21, 2007 5:30 pm
Forum: Volume 6 (600-699)
Topic: 624 - CD
Replies: 77
Views: 33426

Help!

Hello, this is my code. I've read all the posts about 624, but I still can't find where my problem is. I sent this code and got RE(signal 11) . Would you please help me find where My code is wrong? Thank you very much! #include<stdio.h> #define limit 20000 int main(void){ int N; int MW; int total; i...
by AikoSenoo
Tue Jul 18, 2006 5:34 pm
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 67886

10189WA

I have tried many means to test,but still got WA. Would you please help me to find where my code's problem is? Thanks a lot! There is my code: #include<stdio.h> #include<stdlib.h> char a[102][102]; int n,m; int check(int j,int i,int m){ int count=0; if(a[j][i]=='*') return 9; else { if(j!=0){ if(a[j...

Go to advanced search