Borderou de evaluare (job #806274)

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 19:55:27 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int minDeLaXCuStalpiDeLaI(std::vector<std::vector<int> >&, int, int, int&)': main.cpp:13:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 13 | if(i==a.size()) return 1; | ~^~~~~~~~~~ main.cpp:15:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<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<int> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 22 | while(i<a.size() && a[i][dr] <= maxx) { | ~^~~~~~~~~ main.cpp:26:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 26 | if(i==a.size()) return 1; | ~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:39:12: warning: unused variable 'o' [-Wunused-variable] 39 | int n, o=0; fin>>n; | ^ main.cpp: In function 'int minDeLaXCuStalpiDeLaI(std::vector<std::vector<int> >&, int, int, int&)': main.cpp:27:28: warning: 'maxxIdx' may be used uninitialized [-Wmaybe-uninitialized] 27 | if(a[i][st] > a[maxxIdx][dr]) { /*conditia asta conteaza daca ai: | ^ main.cpp:14:18: note: 'maxxIdx' was declared here 14 | int maxx=-1, maxxIdx; | ^~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 507 kb Incorect 0
4 19 ms 438 kb Killed by Signal 11 0
5 29 ms 573 kb Incorect 0
6 159 ms 1617 kb Incorect 0
7 19 ms 2605 kb Memory limit exceeded 0
8 19 ms 2871 kb Memory limit exceeded 0
9 19 ms 2891 kb Memory limit exceeded 0
10 19 ms 2867 kb Memory limit exceeded 0
Punctaj total 0