Pagini recente » Borderou de evaluare (job #3210849) | Borderou de evaluare (job #1252363) | Borderou de evaluare (job #1457932) | Borderou de evaluare (job #2804685) | Borderou de evaluare (job #2561354)
Borderou de evaluare (job #2561354)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:63:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d", &N);
^
main.cpp:66:34: 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:71:32: 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:35:47: warning: 'bestson' may be used uninitialized in this function [-Wmaybe-uninitialized]
int ans = ind[bestson], cntans = cnt[bestson], val, cntval;
^
main.cpp:17:7: 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 | 14ms | 7340kb | OK | 5 | 5 |
2 | 17ms | 7340kb | OK | 5 | 5 |
3 | 17ms | 7340kb | OK | 5 | 5 |
4 | 17ms | 7340kb | OK | 5 | 5 |
5 | 19ms | 7471kb | OK | 5 | 5 |
6 | 19ms | 7471kb | OK | 5 | 5 |
7 | 19ms | 7471kb | OK | 5 | 5 |
8 | 20ms | 7471kb | OK | 5 | 5 |
9 | 413ms | 32899kb | OK | 5 | 20 |
10 | 273ms | 19922kb | OK | 5 |
11 | 290ms | 20971kb | OK | 5 |
12 | 357ms | 29884kb | OK | 5 |
13 | 443ms | 36569kb | OK | 5 | 0 |
14 | 284ms | 21364kb | OK | 5 |
16 | 303ms | 19922kb | OK | 5 |
17 | 379ms | 36880kb | Memory limit exceeded | 0 |
15 | 302ms | 22675kb | OK | 5 | 20 |
18 | 403ms | 29884kb | OK | 5 |
19 | 362ms | 25690kb | OK | 5 |
20 | 373ms | 27525kb | OK | 5 |
Punctaj total | 80 |