Borderou de evaluare (job #806186)

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:20:54 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int minDeLaXCuStalpiDeLaI(std::vector<std::vector<short int> >&, int, int, int&)': main.cpp:15:29: 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(a[i][st] <= x && i<a.size()) { | ~^~~~~~~~~ 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:30: warning: 'maxxIdx' may be used uninitialized [-Wmaybe-uninitialized] 24 | k += a[i][st] - a[maxxIdx][dr]; | ^ 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 Incorect 0
2 1 ms 507 kb OK 10
3 1 ms 245 kb Incorect 0
4 59 ms 1036 kb Killed by Signal 11 0
5 49 ms 786 kb Incorect 0
6 19 ms 2871 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 2605 kb Memory limit exceeded 0
10 19 ms 2867 kb Memory limit exceeded 0
Punctaj total 10