Borderou de evaluare (job #806211)

Utilizator avatar klein Kleinknecht Dorin klein IP ascuns
Problemă Stalpi11 (clasele 11 și 12) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 24 ian. 2025 18:41:29 Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int minDeLaXCuStalpiDeLaI(std::vector<std::vector<short int> >&, int, int, int&)': main.cpp:15:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<short int> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 15 | while(i<a.size() && a[i][st] <= x) { | ~^~~~~~~~~ main.cpp:22:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<short int> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 22 | while(i<a.size() && a[i][dr] <= maxx) i++; | ~^~~~~~~~~ main.cpp:23:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<short int> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 23 | if(i==a.size()) return 1; | ~^~~~~~~~~~ main.cpp:24:28: warning: 'maxxIdx' may be used uninitialized [-Wmaybe-uninitialized] 24 | if(a[i][st] > a[maxxIdx][dr]) { /*conditia asta conteaza daca ai: | ^ main.cpp:14:22: note: 'maxxIdx' was declared here 14 | int maxx=-10000, maxxIdx; | ^~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 9 ms 770 kb Killed by Signal 11 0
5 9 ms 770 kb Incorect 0
6 19 ms 2363 kb Memory limit exceeded 0
7 19 ms 2867 kb Memory limit exceeded 0
8 19 ms 2867 kb Memory limit exceeded 0
9 19 ms 2867 kb Memory limit exceeded 0
10 19 ms 3129 kb Memory limit exceeded 0
Punctaj total 30