Pagini recente » Borderou de evaluare (job #124646) | Borderou de evaluare (job #807984) | Borderou de evaluare (job #774385) | Borderou de evaluare (job #896796) | Borderou de evaluare (job #2124704)
Borderou de evaluare (job #2124704)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:21:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1, "%d%d", &n, &m);
^
user.cpp:23:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1, "%d", &pct[i]);
^
user.cpp:26:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1, "%d%d", &x, &y);
^
user.cpp:31:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1, "%d%d", &e[i].x, &e[i].y);
^
user.cpp: In function ‘int lca(int, int)’:
user.cpp:46:12: warning: ‘nod’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return nod;
^
user.cpp: In function ‘void solutie()’:
user.cpp:58:37: warning: ‘nod’ may be used uninitialized in this function [-Wmaybe-uninitialized]
val=pct[lca(e[i].x, e[i].y)];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 2780kb | OK | 10 |
| 2 | 0ms | 2776kb | OK | 10 |
| 3 | 0ms | 2800kb | OK | 10 |
| 4 | 12ms | 2856kb | OK | 10 |
| 5 | 12ms | 2852kb | OK | 10 |
| 6 | 124ms | 3032kb | OK | 10 |
| 7 | Depăşit | 7504kb | Time limit exceeded. | 0 |
| 8 | 252ms | 3200kb | OK | 10 |
| 9 | Depăşit | 6380kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 6408kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |