Pagini recente » Borderou de evaluare (job #678026) | Monitorul de evaluare | Monitorul de evaluare | Borderou de evaluare (job #2690840) | Borderou de evaluare (job #2690841)
Borderou de evaluare (job #2690841)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(d[a[i][2]]>d[a[i][1]]+a[i][3])
^~
main.cpp:21:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
r++;
^
main.cpp:6:92: 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:6:92: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:6:92: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:11:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a[i][1],&a[i][2],&a[i][3]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 4ms | 131kb | OK | 10 |
| 4 | 4ms | 131kb | OK | 10 |
| 5 | 25ms | 524kb | OK | 10 |
| 6 | 54ms | 917kb | OK | 10 |
| 7 | 65ms | 1179kb | OK | 10 |
| 8 | 128ms | 2752kb | OK | 10 |
| 9 | 1003ms | 1441kb | Time limit exceeded | 0 |
| 10 | 212ms | 4587kb | OK | 10 |
| Punctaj total | 90 |