Pagini recente » Borderou de evaluare (job #2124605) | Borderou de evaluare (job #1724743) | Borderou de evaluare (job #1518977) | Borderou de evaluare (job #212937) | Borderou de evaluare (job #2837516)
Borderou de evaluare (job #2837516)
Raport evaluator
Compilare:
main.cpp: In function 'void unire(int, int)':
main.cpp:43:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
43 | else
| ^~~~
main.cpp:45:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
45 | if (l[x]==l[y])
| ^~
main.cpp: In function 'int main()':
main.cpp:62:21: warning: comparison of integer expressions of different signedness: 'std::vector<Muchie>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
62 | while(sol.size()<n-1) //cat timp nu am selectat cele n-1 muchii
| ~~~~~~~~~~^~~~
main.cpp:80:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<Muchie>::size_type' {aka 'long unsigned int'} [-Wformat=]
80 | printf("%d\n%d\n", costmin, sol.size());
| ~^ ~~~~~~~~~~
| | |
| int std::vector<Muchie>::size_type {aka long unsigned int}
| %ld
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 | 146ms | 2560kb | Corect | 10 |
7 | 280ms | 6434kb | Corect | 10 |
8 | 54ms | 1179kb | Corect | 10 |
9 | 50ms | 1155kb | Corect | 10 |
10 | 242ms | 4550kb | Corect | 10 |
Punctaj total | 100 |