Search found 2 matches

by ne0
Fri Aug 01, 2003 12:48 am
Forum: Volume 105 (10500-10599)
Topic: 10537 - The Toll! Revisited
Replies: 27
Views: 14934

sorry

sorry, in the main function:
[cpp]
src=CODE(c1);tgt=CODE(c2);
if(m)
dijkstra();
else
cout<<"Case "<<++N<<":"<<endl
[/cpp]
must be:
[cpp]
src=CODE(c1);tgt=CODE(c2);
dijkstra();
cout<<"Case "<<++N<<":"<<endl;
[/cpp]

but it's still WA
by ne0
Fri Aug 01, 2003 12:36 am
Forum: Volume 105 (10500-10599)
Topic: 10537 - The Toll! Revisited
Replies: 27
Views: 14934

Dear all,

I think, I've read all the notes and every thing seems okay, but i still get WA :(
Can someone help me please?
I would be thankful :)

here is my code:
[cpp]
#include<iostream>
#include<string.h>

#define INFINITE 2E14
#define int long long
#define CEIL(x) ((x)==(int)(x)?(x):(int)(x)+1 ...

Go to advanced search