Pagini recente » Borderou de evaluare (job #611) | Borderou de evaluare (job #1702281) | Borderou de evaluare (job #1031860) | Borderou de evaluare (job #2235025) | Borderou de evaluare (job #2227890)
Borderou de evaluare (job #2227890)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(x != y) ++nr; v[x] = y;
^~
user.cpp:25:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if(x != y) ++nr; v[x] = y;
^
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:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:19:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 876kb | OK | 5 |
2 | 0ms | 876kb | OK | 5 |
3 | 0ms | 880kb | OK | 5 |
4 | 8ms | 752kb | OK | 5 |
5 | 0ms | 876kb | OK | 5 |
6 | 0ms | 876kb | OK | 5 |
7 | 0ms | 872kb | OK | 5 |
8 | 0ms | 864kb | OK | 5 |
9 | 0ms | 800kb | OK | 5 |
10 | 0ms | 800kb | OK | 5 |
11 | 20ms | 864kb | OK | 5 |
12 | 12ms | 808kb | OK | 5 |
13 | 16ms | 936kb | OK | 5 |
14 | 16ms | 876kb | OK | 5 |
15 | 24ms | 936kb | OK | 5 |
16 | 28ms | 892kb | OK | 5 |
17 | 48ms | 1040kb | OK | 5 |
18 | 0ms | 1040kb | OK | 5 |
19 | 0ms | 1036kb | OK | 5 |
20 | 32ms | 1040kb | OK | 5 |
Punctaj total | 100 |