Pagini recente » Borderou de evaluare (job #1830069) | Borderou de evaluare (job #230361) | Borderou de evaluare (job #920017) | Borderou de evaluare (job #1463639) | Borderou de evaluare (job #2544443)
Borderou de evaluare (job #2544443)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:44:21: warning: unused variable 'val' [-Wunused-variable]
int val = i.first;
^~~
main.cpp:45:21: warning: unused variable 'cntval' [-Wunused-variable]
int cntval = i.second;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:70: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:74: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:79: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:62:15: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
ind[node] = ans;
~~~~~~~~~~^~~~~
main.cpp:18:9: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
int pos, mx = 0;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 10ms | 3801kb | OK | 5 | 5 |
2 | 10ms | 3670kb | 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 | 3801kb | OK | 5 | 5 |
9 | 402ms | 8388kb | OK | 5 | 20 |
10 | 211ms | 7995kb | OK | 5 |
11 | 284ms | 7995kb | OK | 5 |
12 | 387ms | 9961kb | OK | 5 |
13 | 431ms | 9830kb | OK | 5 | 20 |
14 | 239ms | 8519kb | OK | 5 |
16 | 309ms | 11141kb | OK | 5 |
17 | 476ms | 10485kb | OK | 5 |
15 | 603ms | 13500kb | Time limit exceeded | 0 | 0 |
18 | 408ms | 11071kb | OK | 5 |
19 | 344ms | 9568kb | OK | 5 |
20 | 329ms | 9437kb | OK | 5 |
Punctaj total | 80 |