Borderou de evaluare (job #782784)

Utilizator avatar miscento Tudor Paltanea miscento IP ascuns
Problemă Remi (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 iul. 2024 12:46:44 Scor 8

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int i = 0; i < nums.size(); i++) | ~~^~~~~~~~~~~~~ main.cpp:12:50: warning: variable 'max_digit_pos' set but not used [-Wunused-but-set-variable] 12 | int jj, j, n, num_length = 1, max_digit = 0, max_digit_pos, max_digit_vector_pos; | ^~~~~~~~~~~~~ main.cpp:34:11: warning: 'max_digit_vector_pos' may be used uninitialized [-Wmaybe-uninitialized] 34 | if(i != max_digit_vector_pos) | ^~ main.cpp:12:65: note: 'max_digit_vector_pos' was declared here 12 | int jj, j, n, num_length = 1, max_digit = 0, max_digit_pos, max_digit_vector_pos; | ^~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 270 kb Incorect 0
7 1 ms 249 kb Incorect 0
8 1 ms 249 kb Incorect 0
9 1 ms 249 kb Incorect 0
10 9 ms 258 kb Incorect 0
11 1 ms 270 kb Incorect 0
12 1 ms 270 kb Incorect 0
13 1 ms 270 kb Incorect 0
14 1 ms 249 kb Incorect 0
15 1 ms 270 kb Incorect 0
16 1 ms 270 kb Incorect 0
17 1 ms 270 kb Incorect 0
18 1 ms 245 kb Incorect 0
19 1 ms 249 kb Incorect 0
20 1 ms 270 kb Incorect 0
21 1 ms 270 kb Incorect 0
22 1 ms 270 kb Incorect 0
23 1 ms 249 kb Incorect 0
24 4 ms 122 kb OK 4
25 1 ms 249 kb Incorect 0
Punctaj total 8