Pagini recente » Borderou de evaluare (job #2070778) | Borderou de evaluare (job #2131797) | Borderou de evaluare (job #1101134) | Borderou de evaluare (job #2837509) | Borderou de evaluare (job #2837506)
Borderou de evaluare (job #2837506)
Raport evaluator
Compilare:
main.cpp: In function 'void unire(int, int)':
main.cpp:46:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
46 | else
| ^~~~
main.cpp:48:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
48 | if (l[x]==l[y])
| ^~
main.cpp: In function 'int main()':
main.cpp:65:21: warning: comparison of integer expressions of different signedness: 'std::vector<muchie>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
65 | while(sol.size()<n-1) //cat timp nu am selectat cele n-1 muchii
| ~~~~~~~~~~^~~~
main.cpp:81:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for(int i=0;i<sol.size();i++)
| ~^~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 184kb | Corect | 10 |
| 2 | 2ms | 184kb | Corect | 10 |
| 3 | 2ms | 184kb | Corect | 10 |
| 4 | 2ms | 184kb | Corect | 10 |
| 5 | 2ms | 184kb | Corect | 10 |
| 6 | 141ms | 2609kb | Corect | 10 |
| 7 | 266ms | 6414kb | Corect | 10 |
| 8 | 49ms | 1208kb | Corect | 10 |
| 9 | 45ms | 1183kb | Corect | 10 |
| 10 | 232ms | 4591kb | Corect | 10 |
| Punctaj total | 100 |