Pagini recente » Borderou de evaluare (job #3323720) | Borderou de evaluare (job #3345320) | Borderou de evaluare (job #3345657) | Borderou de evaluare (job #199167) | Borderou de evaluare (job #3300944)
Borderou de evaluare (job #3300944)
Raport evaluator
Compilare:
main.cpp: In function 'bool e_cerc(std::vector<short int>&)':
main.cpp:117:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
117 | for(int i = 0; i < v.size(); i++){
| ~~^~~~~~~~~~
main.cpp:118:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
118 | for(int j = i + 1; j < v.size(); j++){
| ~~^~~~~~~~~~
main.cpp: In function 'void conex(int, int, bool)':
main.cpp:149:24: warning: loop variable 'x' of type 'const shr&' {aka 'const short int&'} binds to a temporary constructed from type 'int' [-Wrange-loop-construct]
149 | for(const shr &x : g_check[nod]){
| ^
main.cpp:149:24: note: use non-reference type 'const shr' {aka 'const short int'} to make the copy explicit or 'const int&' to prevent copying
main.cpp: In function 'int bkt(int)':
main.cpp:165:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
165 | for(int i = 0; i < comp[idx].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:169:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
169 | for(int i = 0; i < comp[idx].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:170:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
170 | for(int j = i + 1; j < comp[idx].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:181:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
181 | for(int i = 0; i < comp[idx].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:186:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
186 | for(int i = 0; i < comp[idx].size(); i++) m[i] = 0;
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:190:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
190 | if(cate[0] == comp[idx].size() - cnt1 && cate[1] == cnt1) sol++;
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:221:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<short int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
221 | for(int i = 0; i < comp.size(); i++){
| ~~^~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 20 |
| 2 | 111ms | 120733kb | OK | 20 |
| 3 | 92ms | 118349kb | OK | 20 |
| 4 | 956ms | 115560kb | OK | 20 |
| 5 | 97ms | 118763kb | OK | 20 |
| Punctaj total | 100 |