Pagini recente » Borderou de evaluare (job #1264636) | Borderou de evaluare (job #93865) | Borderou de evaluare (job #1001370) | Borderou de evaluare (job #264986) | Borderou de evaluare (job #2608262)
Borderou de evaluare (job #2608262)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < G[nod].size(); ++i) {
~~^~~~~~~~~~~~~~~
main.cpp:31:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(d[vecin] > d[nod] + 1)
^~
main.cpp:33:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(v[vecin] == 0) {
^~
main.cpp:12:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.in", "r", stdin);
^
main.cpp:13:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.out", "w", stdout);
^
main.cpp:14:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &S);
^
main.cpp:16:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 6ms | 2621kb | OK | 10 |
| 2 | 7ms | 2621kb | OK | 10 |
| 3 | 7ms | 2621kb | OK | 10 |
| 4 | 12ms | 2621kb | OK | 10 |
| 5 | 20ms | 2752kb | OK | 10 |
| 6 | 75ms | 3670kb | OK | 10 |
| 7 | 210ms | 5111kb | OK | 10 |
| 8 | 188ms | 5898kb | OK | 10 |
| 9 | 861ms | 11665kb | OK | 10 |
| 10 | 873ms | 11665kb | OK | 10 |
| Punctaj total | 100 |