Pagini recente » Borderou de evaluare (job #535850) | Borderou de evaluare (job #2591703) | Borderou de evaluare (job #230497) | Borderou de evaluare (job #1113370) | Borderou de evaluare (job #2544442)
Borderou de evaluare (job #2544442)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:33:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (maps[indmap[x]].size() > mx)
~~~~~~~~~~~~~~~~~~~~~~~^~~~
main.cpp:46:21: warning: unused variable 'val' [-Wunused-variable]
int val = i.first;
^~~
main.cpp:47:21: warning: unused variable 'cntval' [-Wunused-variable]
int cntval = i.second;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:72: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:76: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:81: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:18: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
indmap[node] = pos;
~~~~~~~~~~~~~^~~~~
main.cpp:64:15: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
ind[node] = ans;
~~~~~~~~~~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 11ms | 3670kb | OK | 5 | 5 |
2 | 10ms | 3670kb | OK | 5 | 5 |
3 | 10ms | 3670kb | OK | 5 | 5 |
4 | 10ms | 3670kb | OK | 5 | 5 |
5 | 12ms | 3801kb | OK | 5 | 5 |
6 | 12ms | 3801kb | OK | 5 | 5 |
7 | 12ms | 3801kb | OK | 5 | 5 |
8 | 13ms | 3801kb | OK | 5 | 5 |
9 | 412ms | 8257kb | OK | 5 | 20 |
10 | 268ms | 7602kb | OK | 5 |
11 | 296ms | 7602kb | OK | 5 |
12 | 416ms | 9568kb | OK | 5 |
13 | 457ms | 9469kb | OK | 5 | 20 |
14 | 301ms | 8126kb | OK | 5 |
16 | 305ms | 10878kb | OK | 5 |
17 | 543ms | 10092kb | OK | 5 |
15 | 603ms | 13066kb | Time limit exceeded | 0 | 0 |
18 | 413ms | 10616kb | OK | 5 |
19 | 359ms | 9175kb | OK | 5 |
20 | 341ms | 9043kb | OK | 5 |
Punctaj total | 80 |