Pagini recente » Cod sursa (job #414746) | Cod sursa (job #71246) | Cod sursa (job #2220892) | Diferente pentru problema/bacterii2 intre reviziile 1 si 2 | Borderou de evaluare (job #2695507)
Borderou de evaluare (job #2695507)
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({0,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",&x,&y,&z),a[x].P({y,z});
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 1310kb | OK | 10 |
| 2 | 4ms | 1310kb | OK | 10 |
| 3 | 8ms | 1310kb | OK | 10 |
| 4 | 7ms | 1441kb | OK | 10 |
| 5 | 34ms | 1835kb | OK | 10 |
| 6 | 64ms | 2359kb | OK | 10 |
| 7 | 85ms | 2621kb | OK | 10 |
| 8 | 193ms | 4313kb | OK | 10 |
| 9 | 131ms | 3801kb | OK | 10 |
| 10 | 366ms | 6553kb | OK | 10 |
| Punctaj total | 100 |