Search found 1 match

by Ioura
Tue Mar 12, 2002 10:54 pm
Forum: Volume 100 (10000-10099)
Topic: 10000 - Longest Paths
Replies: 160
Views: 36738

10000 - Longest Paths

This code seems to work whatever I feed it with but I still get WA. Can someone help ? #include <stdio.h> int edge[5000][2]; int node[101]; int nodes; int edges, length; int main() { int start, i, j, ncase, cont; for(scanf("%d",&nodes),ncase=1; nodes>0; scanf("%d",&nodes),ncase++) { scanf("%d",&star...

Go to advanced search