Pagini recente » Borderou de evaluare (job #3123545) | Borderou de evaluare (job #3200898) | Borderou de evaluare (job #5429) | Borderou de evaluare (job #2175236) | Borderou de evaluare (job #2227892)
Borderou de evaluare (job #2227892)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(Find(x) != Find(y)) ++nr; v[x] = y;
^~
user.cpp:39: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:23: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:24: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:28: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:37: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 | 860kb | OK | 5 |
| 2 | 0ms | 792kb | Incorect | 0 |
| 3 | 0ms | 864kb | OK | 5 |
| 4 | 8ms | 756kb | Incorect | 0 |
| 5 | 0ms | 872kb | OK | 5 |
| 6 | 0ms | 756kb | Incorect | 0 |
| 7 | 0ms | 860kb | Incorect | 0 |
| 8 | 0ms | 932kb | Incorect | 0 |
| 9 | 0ms | 752kb | Incorect | 0 |
| 10 | 0ms | 792kb | Incorect | 0 |
| 11 | 16ms | 864kb | Incorect | 0 |
| 12 | 12ms | 752kb | Incorect | 0 |
| 13 | 16ms | 864kb | Incorect | 0 |
| 14 | 16ms | 936kb | Incorect | 0 |
| 15 | 24ms | 852kb | Incorect | 0 |
| 16 | 28ms | 888kb | Incorect | 0 |
| 17 | 48ms | 1048kb | OK | 5 |
| 18 | 0ms | 1048kb | OK | 5 |
| 19 | 0ms | 1040kb | OK | 5 |
| 20 | 32ms | 1044kb | Incorect | 0 |
| Punctaj total | 30 |