What a silly mistake....
Thank you very much
I added line fillchar(w,sizeof(w),false);
And got AC
Search found 2 matches
- Thu Jun 09, 2005 10:22 am
- Forum: Volume 100 (10000-10099)
- Topic: 10000 - Longest Paths
- Replies: 160
- Views: 56526
- Wed Jun 08, 2005 9:24 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10000 - Longest Paths
- Replies: 160
- Views: 56526
10000 WA
Cant find the problem... I'm always getting WA...
const maxn = 100;
var a : array [0..maxn,0..maxn] of integer;
q,l : array [0..maxn*maxn] of integer;
c,n,i,x,y,st,max,maxi,t,j,yk,yp,cur : integer;
w : array [0..maxn+1,0..maxn+1] of boolean;
h : boolean;
begin
{ assign(input,'input.txt ...
const maxn = 100;
var a : array [0..maxn,0..maxn] of integer;
q,l : array [0..maxn*maxn] of integer;
c,n,i,x,y,st,max,maxi,t,j,yk,yp,cur : integer;
w : array [0..maxn+1,0..maxn+1] of boolean;
h : boolean;
begin
{ assign(input,'input.txt ...