Search found 48 matches

by Chok
Fri Jul 08, 2005 10:50 am
Forum: Volume 100 (10000-10099)
Topic: 10010 - Where's Waldorf?
Replies: 42
Views: 18570


Im also face WA for this problem. Plz help me to find out error. Here is my code. My code is clumshy enough. The code should be small. But i just want to know what i'm missing. Thanx in advance.

Code: Select all

Cut after Acc...
by Chok
Fri Jul 08, 2005 9:21 am
Forum: Volume 105 (10500-10599)
Topic: 10500 - Robot maps
Replies: 45
Views: 13766

10500 WA !!!! HELP

Hi all, I'm getting lots of WA for this easy problem. Plz help me to find out my error. Here is my code. Thanx in advance. #include<stdio.h> #include<string.h> #define mm(a,b) memset((a),(b),sizeof(a)) #define MAX 11 char grid[MAX][MAX]; char rob[MAX][MAX]; int N,M,cnt; void visit(int i,int j) { int...
by Chok
Mon Jun 27, 2005 4:29 pm
Forum: Volume 108 (10800-10899)
Topic: 10872 - Triangles
Replies: 24
Views: 10695


Hi, I'm also using those close form, but since contest time all of my submission leads WA. I used long long for taking input and then after dividing by a constant value then i use (floor(tmp+.5)). Is it ok ? In others problem i did this things for rounding upto nearest integer. But i dont know why i...

Go to advanced search