Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #3346902)
| Utilizator | Data | 15 martie 2026 13:11:57 | |
|---|---|---|---|
| Problema | Arbore din permutare | Status | done |
| Runda | Universitatea Tehnică din Cluj-Napoca - 2026 - Concurs | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:25: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
34 | else if(v.size()<n-1)
| ~~~~~~~~^~~~
main.cpp:36:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(int i=0; i<aux.size() && v.size()<n-1; i++)
| ~^~~~~~~~~~~
main.cpp:36:50: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
36 | for(int i=0; i<aux.size() && v.size()<n-1; i++)
| ~~~~~~~~^~~~
main.cpp:39:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for(int j=i+1; j<aux.size() && v.size()<n-1; j++)
| ~^~~~~~~~~~~
main.cpp:39:60: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
39 | for(int j=i+1; j<aux.size() && v.size()<n-1; j++)
| ~~~~~~~~^~~~
main.cpp:51:24: 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(v.size()==n-1)
| ~~~~~~~~^~~~~
main.cpp:54:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for(int i=0; i<v.size(); i++)
| ~^~~~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 23ms | 1753kb | OK | 100 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
