Borderou de evaluare (job #3347271)

Utilizator justy41Babiciu Iustin justy41 Data 15 martie 2026 22:14:17
Problema Arbore din permutare Status done
Runda arhiva-utcn Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool checkSorted()': main.cpp:12:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 12 | for(int i = 0; i<perm.size()-1; i++) { | ~^~~~~~~~~~~~~~ main.cpp: In function 'void solve()': main.cpp:35:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 35 | for(int i = 0; i<perm.size(); i++) { | ~^~~~~~~~~~~~ main.cpp:37:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 37 | for(int j = i+1; j<perm.size(); j++) { | ~^~~~~~~~~~~~ main.cpp:49:34: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 49 | if(muchii.size() >= n-1) { | ~~~~~~~~~~~~~~^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1203ms798kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?