Borderou de evaluare (job #806181)

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:13:55 Scor 10

Raport evaluator

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