Search found 49 matches
- Sun Oct 09, 2005 5:48 pm
- Forum: Volume 2 (200-299)
- Topic: 280 - Vertex
- Replies: 95
- Views: 24888
280 WA!! HELP!!
I've tried various types of input. I've also tried the I/O provided in the board. All gives correct output. But still getting WA. plz help. #include<stdio.h> #define SIZE 300 int mat[SIZE][SIZE]; int count; int visited[SIZE]; int n; int col[SIZE]; int v[SIZE]; void init(void); void dfs(int); void vi...
- Sun Oct 09, 2005 8:46 am
- Forum: Volume 4 (400-499)
- Topic: 469 - Wetlands of Florida
- Replies: 63
- Views: 23249
469 RTE. HELP REQUIRED!!!!
This code is generating RTE. Can't find why. CAn any one help?? #include<stdio.h> #include<string.h> #include<ctype.h> #include<stdlib.h> int k[2][8]; int count; int row,col; char tempin[200]; void initk(void){ k[0][0]=-1; k[1][0]=0; k[0][1]=1; k[1][1]=0; k[0][2]=0; k[1][2]=1; k[0][3]=0; k[1][3]=-1;...
- Sat Sep 24, 2005 11:33 am
- Forum: Volume 4 (400-499)
- Topic: 438 - The Circumference of the Circle
- Replies: 29
- Views: 10174
- Sun Sep 18, 2005 4:15 pm
- Forum: Volume 4 (400-499)
- Topic: 438 - The Circumference of the Circle
- Replies: 29
- Views: 10174
438 WA HELP!!!!!
This program seems OK. It generated correct output for sample input. But i'm getting WA. Please help!! :( [/code] #include<stdio.h> #include<math.h> #define PI 3.141592653589793 void main(void){ long double k1,k2,x1,y1,x2,y2,x3,y3,rad,cir1,g,f,centx,centy,k; while(scanf("%lf %lf %lf %lf %lf %lf...