Pagini recente » Borderou de evaluare (job #3239275) | Borderou de evaluare (job #1662031) | Borderou de evaluare (job #1167147) | Cod sursa (job #632525) | Borderou de evaluare (job #2544446)
Borderou de evaluare (job #2544446)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:73:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &N);
^
main.cpp:77:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &u, &v);
^
main.cpp:82:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &key[i]);
^
main.cpp: In function 'void dfs(int, int)':
main.cpp:40:49: warning: 'bestson' may be used uninitialized in this function [-Wmaybe-uninitialized]
int ans = ind[bestson], cntans = cnt[bestson], val, cntval;
^
main.cpp:19:9: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
int pos, mx = 0, bestson;
^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 8ms | 3801kb | OK | 5 | 5 |
| 2 | 10ms | 3801kb | OK | 5 | 5 |
| 3 | 10ms | 3801kb | OK | 5 | 5 |
| 4 | 10ms | 3801kb | OK | 5 | 5 |
| 5 | 13ms | 3801kb | OK | 5 | 5 |
| 6 | 12ms | 3801kb | OK | 5 | 5 |
| 7 | 12ms | 3801kb | OK | 5 | 5 |
| 8 | 13ms | 3932kb | OK | 5 | 5 |
| 9 | 391ms | 21233kb | OK | 5 | 20 |
| 10 | 264ms | 12582kb | OK | 5 |
| 11 | 262ms | 13369kb | OK | 5 |
| 12 | 401ms | 19267kb | OK | 5 |
| 13 | 468ms | 23769kb | OK | 5 | 20 |
| 14 | 310ms | 13631kb | OK | 5 |
| 16 | 293ms | 12845kb | OK | 5 |
| 17 | 547ms | 26214kb | OK | 5 |
| 15 | 266ms | 15204kb | OK | 5 | 20 |
| 18 | 380ms | 19398kb | OK | 5 |
| 19 | 365ms | 16777kb | OK | 5 |
| 20 | 355ms | 17956kb | OK | 5 |
| Punctaj total | 100 |