Pagini recente » Borderou de evaluare (job #2058949) | Borderou de evaluare (job #2534040) | Borderou de evaluare (job #404239) | Borderou de evaluare (job #1289058) | Borderou de evaluare (job #2227891)
Borderou de evaluare (job #2227891)
Raport evaluator
Compilare:
user.cpp: In function ‘int Find(int)’:
user.cpp:17:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:37:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(Find(x) != Find(y)) ++nr; v[x] = y;
^~
user.cpp:37:38: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if(Find(x) != Find(y)) ++nr; v[x] = y;
^
user.cpp: At global scope:
user.cpp:5:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int Find(int x)
^~~~
user.cpp: In function ‘int main()’:
user.cpp:21: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:22: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:26: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:35: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 | 752kb | Incorect | 0 |
2 | 0ms | 864kb | Incorect | 0 |
3 | 0ms | 816kb | OK | 5 |
4 | 8ms | 876kb | Incorect | 0 |
5 | 0ms | 752kb | Incorect | 0 |
6 | 0ms | 936kb | Incorect | 0 |
7 | 0ms | 856kb | Incorect | 0 |
8 | 0ms | 876kb | Incorect | 0 |
9 | 0ms | 756kb | Incorect | 0 |
10 | 0ms | 876kb | Incorect | 0 |
11 | 16ms | 872kb | Incorect | 0 |
12 | 12ms | 756kb | Incorect | 0 |
13 | 16ms | 776kb | Incorect | 0 |
14 | 16ms | 852kb | Incorect | 0 |
15 | 24ms | 880kb | Incorect | 0 |
16 | 28ms | 892kb | Incorect | 0 |
17 | 48ms | 1040kb | Incorect | 0 |
18 | 0ms | 1040kb | Incorect | 0 |
19 | 0ms | 1040kb | Incorect | 0 |
20 | 32ms | 1044kb | Incorect | 0 |
Punctaj total | 5 |