Pagini recente » Borderou de evaluare (job #2710468) | Borderou de evaluare (job #3218666) | Borderou de evaluare (job #1039258) | Borderou de evaluare (job #2643001) | Borderou de evaluare (job #2544445)
Borderou de evaluare (job #2544445)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:45:21: warning: unused variable 'val' [-Wunused-variable]
int val = i.first;
^~~
main.cpp:46: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:57:74: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (maps[pos][key[node]] > cntans || (maps[pos][key[node]] == cntans && key[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 | Incorect | 0 | 0 |
2 | 10ms | 3801kb | Incorect | 0 | 0 |
3 | 10ms | 3801kb | Incorect | 0 | 0 |
4 | 10ms | 3801kb | Incorect | 0 | 0 |
5 | 13ms | 3801kb | Incorect | 0 | 0 |
6 | 12ms | 3801kb | Incorect | 0 | 0 |
7 | 13ms | 3801kb | Incorect | 0 | 0 |
8 | 14ms | 3932kb | Incorect | 0 | 0 |
9 | 601ms | 19136kb | Time limit exceeded | 0 | 0 |
10 | 327ms | 12582kb | Incorect | 0 |
11 | 398ms | 13238kb | Incorect | 0 |
12 | 567ms | 19267kb | Incorect | 0 |
13 | 602ms | 22806kb | Time limit exceeded | 0 | 0 |
14 | 335ms | 13762kb | Incorect | 0 |
16 | 285ms | 12845kb | Incorect | 0 |
17 | 600ms | 22675kb | Time limit exceeded | 0 |
15 | 600ms | 14417kb | Time limit exceeded | 0 | 0 |
18 | 601ms | 19005kb | Time limit exceeded | 0 |
19 | 556ms | 16777kb | Incorect | 0 |
20 | 553ms | 17956kb | Incorect | 0 |
Punctaj total | 0 |