Search found 3 matches

by xivphoenix
Thu May 25, 2006 3:08 pm
Forum: Volume 6 (600-699)
Topic: 623 - 500!
Replies: 187
Views: 71545

Thanks so much , Now I've got AC. :D
by xivphoenix
Thu May 25, 2006 3:01 pm
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 124793

10189 mines WA!

I've no idea what's wrong whith my code.somebody plz help. THX.

Here's my code.


#include <stdio.h>

int main(void)
{
int arr[150][150];
int i,j,mrow,mcol,cnt=0;
char c[200];

while(scanf("%d%d ",&mrow,&mcol)!=EOF) {
if(mrow==0 && mcol==0) break;
printf("Field #%d:\n",++cnt);

for(i=0 ; i ...
by xivphoenix
Wed May 24, 2006 3:38 pm
Forum: Volume 6 (600-699)
Topic: 623 - 500!
Replies: 187
Views: 71545

623

I don't know what's wrong with my code.
The array size couldn't be large enough in my compiler.
Please help me.

Here is my source.

#include <stdio.h>
#include <string.h>
#define STR 1001
#define MAX 3000

int lena,lenb;
int a[MAX+1];
int b[MAX+1];

void proc()
{
int i,j,k,tmp,remain;
int res ...

Go to advanced search