Pagini recente » Borderou de evaluare (job #1881795) | Borderou de evaluare (job #2272440) | Borderou de evaluare (job #2286365) | Borderou de evaluare (job #2654224) | Borderou de evaluare (job #2690745)
Borderou de evaluare (job #2690745)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=2;i<=n;i++)
^~~
main.cpp:20:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(c.insert({0,1});!c.empty();)
^~~
main.cpp:15: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:15:89: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:15:89: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:17:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&z),a[x].pb({y,z});
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 5ms | 1310kb | OK | 10 |
| 2 | 4ms | 1310kb | OK | 10 |
| 3 | 7ms | 1310kb | OK | 10 |
| 4 | 8ms | 1441kb | OK | 10 |
| 5 | 34ms | 1835kb | OK | 10 |
| 6 | 69ms | 2359kb | OK | 10 |
| 7 | 85ms | 2621kb | OK | 10 |
| 8 | 181ms | 4313kb | OK | 10 |
| 9 | 135ms | 3801kb | OK | 10 |
| 10 | 388ms | 6553kb | OK | 10 |
| Punctaj total | 100 |