Search found 2 matches

by jj_99
Sat Jan 05, 2008 9:01 pm
Forum: Volume 100 (10000-10099)
Topic: 10000 - Longest Paths
Replies: 160
Views: 56559

i have try many input and the output is correct.
but also get WA
can u help me to check it,pls
thz...

#include <stdio.h>
#include <stdlib.h>

int d[100][100];
int b[100];
int length;
int s;

int max(int a,int b)
{
if (a>b)
return a;
return b;
}

int intial(){
int i,j;
for(i=0;i<=100;i++){
b ...
by jj_99
Sat Dec 01, 2007 9:53 am
Forum: Volume 100 (10000-10099)
Topic: 10092 - The Problem with the Problem Setter
Replies: 31
Views: 16988

what's worng of my code
can you give me some input to check it
thank you for your help

#include <stdio.h>
#include <stdlib.h>

#define MAXV 100 /* maximum number of vertices */
#define MAXDEGREE 50 /* maximum outdegree of a vertex */

#define QUEUESIZE 1000

#define X 0 /* x-coordinate ...

Go to advanced search