Borderou de evaluare (job #3347066)

Utilizator justy41Babiciu Iustin justy41 Data 15 martie 2026 14:58:55
Problema Arbore din permutare Status done
Runda Universitatea Tehnică din Cluj-Napoca - 2026 - Concurs 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:51:26: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 51 | if(muchii.size() == n-1) { | ~~~~~~~~~~~~~~^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1203ms798kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?