Pagini recente » Borderou de evaluare (job #279109) | Borderou de evaluare (job #1421336) | Borderou de evaluare (job #128375) | Borderou de evaluare (job #1707023) | Borderou de evaluare (job #2227902)
Borderou de evaluare (job #2227902)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(u != v) x++; parent[u] = v;
^~
user.cpp:45: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:24:45: warning: unused variable ‘t’ [-Wunused-variable]
int nodes, edges, parent[100001], u, v, t, x = 0;
^
user.cpp: At global scope:
user.cpp:5:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int get_int()
^~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:19: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:20: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:22:37: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, 1, 2000000, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 808kb | OK | 5 |
2 | 0ms | 804kb | OK | 5 |
3 | 0ms | 864kb | OK | 5 |
4 | 4ms | 804kb | OK | 5 |
5 | 0ms | 816kb | OK | 5 |
6 | 0ms | 936kb | OK | 5 |
7 | 0ms | 860kb | OK | 5 |
8 | 0ms | 860kb | OK | 5 |
9 | 0ms | 792kb | OK | 5 |
10 | 0ms | 752kb | OK | 5 |
11 | Depăşit | 964kb | Time limit exceeded. | 0 |
12 | 72ms | 896kb | OK | 5 |
13 | 164ms | 1052kb | OK | 5 |
14 | 8ms | 1136kb | OK | 5 |
15 | 132ms | 1248kb | OK | 5 |
16 | Depăşit | 1400kb | Time limit exceeded. | 0 |
17 | 4ms | 2132kb | OK | 5 |
18 | 0ms | 976kb | OK | 5 |
19 | 0ms | 1008kb | OK | 5 |
20 | Depăşit | 1616kb | Time limit exceeded. | 0 |
Punctaj total | 85 |