Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
Register

## Re:啊,我快受不了,谁帮我找一组WA的测试数据?

Posted by ahoaho at 2005-10-04 20:02:42 on Problem 2631
In Reply To:啊,我快受不了,谁帮我找一组WA的测试数据? Posted by:maths at 2005-10-04 00:52:29
```> #include <stdio.h>
> #include <stdlib.h>
> #define max 10005
> typedef struct villageinf
> {	int a;
> 	int b;
> 	int dis;
> }village;
> int main(void)
> 	int i,j,n,k,largersum;
> 	int node[max];
> 	int num[max];
> 	memset(num,0,sizeof(num));
> 	memset(node,0,sizeof(node));
> 	n=0;
> 		n++;
> 	}
> 	/*for(i=0;i<n;i++)
> 	k=0;largersum=0;
> 	//printf("%d\n",n);
> 	while(k<=n-2)
> 	{	for(i=0;i<n;i++)
> 				k++;
> 				if(k==n-1)
> 					break;
> 			}
> 				k++;
> 				if(k==n-1)
> 					break;
> 			}
> 		}
> 	}
> 	for(i=0;i<n;i++)
> 			else printf("%d\n",largersum);
> 			break;
> 		}
> 	return 0;
> }
>
```

Followed by: