Pagini recente » Borderou de evaluare (job #1465567) | Borderou de evaluare (job #250121) | Borderou de evaluare (job #2941316) | Borderou de evaluare (job #2412442) | Borderou de evaluare (job #2412233)
Borderou de evaluare (job #2412233)
Raport evaluator
Compilare:
main.cpp: In function 'void unire(int, int)':
main.cpp:28:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
main.cpp:31:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
if (rang[radacinaX] == rang[radacinaY])
^~
main.cpp: In function 'int main()':
main.cpp:37:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("disjoint.in", "r", stdin);
^
main.cpp:38:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("disjoint.out", "w", stdout);
^
main.cpp:40:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &nrNoduri, &nrCoduri);
^
main.cpp:52:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &cod, &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 3ms | 131kb | OK | 10 | 10 |
3 | 3ms | 131kb | OK | 10 | 10 |
4 | 5ms | 131kb | OK | 10 | 10 |
5 | 9ms | 131kb | OK | 10 | 30 |
6 | 84ms | 655kb | OK | 10 |
7 | 83ms | 655kb | OK | 10 |
8 | 94ms | 917kb | OK | 10 | 10 |
9 | 48ms | 524kb | OK | 10 | 10 |
10 | 98ms | 1179kb | OK | 10 | 10 |
Punctaj total | 100 |