Pagini recente » Borderou de evaluare (job #1541870) | Borderou de evaluare (job #4213) | Borderou de evaluare (job #176339) | Borderou de evaluare (job #1439643) | Borderou de evaluare (job #2227896)
Borderou de evaluare (job #2227896)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(u != v) x++; parent[u] = v;
^~
user.cpp:25:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if(u != v) x++; parent[u] = v;
^~~~~~
user.cpp:5:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dfs.in", "r", stdin);
^
user.cpp:6:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dfs.out", "w", stdout);
^
user.cpp:10:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &nodes, &edges);
^
user.cpp:19:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &u, &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 868kb | OK | 5 |
2 | 0ms | 816kb | OK | 5 |
3 | 0ms | 876kb | OK | 5 |
4 | 8ms | 872kb | OK | 5 |
5 | 0ms | 932kb | OK | 5 |
6 | 0ms | 868kb | OK | 5 |
7 | 0ms | 880kb | OK | 5 |
8 | 0ms | 876kb | OK | 5 |
9 | 0ms | 876kb | OK | 5 |
10 | 0ms | 812kb | OK | 5 |
11 | 16ms | 880kb | OK | 5 |
12 | 12ms | 756kb | OK | 5 |
13 | 16ms | 876kb | OK | 5 |
14 | 16ms | 872kb | OK | 5 |
15 | 24ms | 852kb | OK | 5 |
16 | 28ms | 892kb | OK | 5 |
17 | 48ms | 1036kb | OK | 5 |
18 | 0ms | 1040kb | OK | 5 |
19 | 0ms | 1040kb | OK | 5 |
20 | 32ms | 1044kb | OK | 5 |
Punctaj total | 100 |