Pagini recente » Borderou de evaluare (job #2176831) | Borderou de evaluare (job #1087479) | Borderou de evaluare (job #195282) | Borderou de evaluare (job #3174895) | Borderou de evaluare (job #2330427)
Borderou de evaluare (job #2330427)
Raport evaluator
Compilare:
main.cpp: In function 'bool dijkstra()':
main.cpp:46:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(dist[it]>dist[nod]+cst[nod][it]+pred[nod]-pred[it]);
^~
main.cpp:47:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
{
^
main.cpp: In function 'int main()':
main.cpp:95:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("traseu.in","r",stdin);
^
main.cpp:96:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("traseu.out","w",stdout);
^
main.cpp:99:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:109:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 200ms | 131kb | Time limit exceeded | 0 |
2 | 201ms | 131kb | Time limit exceeded | 0 |
3 | 201ms | 131kb | Time limit exceeded | 0 |
4 | 201ms | 131kb | Time limit exceeded | 0 |
5 | 201ms | 131kb | Time limit exceeded | 0 |
6 | 200ms | 131kb | Time limit exceeded | 0 |
7 | 200ms | 131kb | Time limit exceeded | 0 |
8 | 200ms | 131kb | Time limit exceeded | 0 |
9 | 3ms | 131kb | Ok! | 10 |
10 | 3ms | 131kb | Ok! | 10 |
Punctaj total | 20 |