Borderou de evaluare (job #2690844)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 26 decembrie 2020 11:03:15
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=2;i<=n;i++) ^~~ main.cpp:19:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(c.insert(1);!c.empty();) ^~~ main.cpp:14:89: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("dijkstra.in","r",stdin),freopen("dijkstra.out","w",stdout),scanf("%d%d",&n,&m); ^ main.cpp:14:89: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] main.cpp:14:89: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] main.cpp:16:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&i,&j,&k),a[i].P({j,k}); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11000ms1310kbTime limit exceeded0
21000ms1310kbTime limit exceeded0
31000ms1310kbTime limit exceeded0
41002ms1310kbTime limit exceeded0
51001ms1703kbTime limit exceeded0
61000ms2097kbTime limit exceeded0
71002ms2359kbTime limit exceeded0
81003ms3657kbTime limit exceeded0
91000ms3407kbTime limit exceeded0
101003ms5373kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?