Borderou de evaluare (job #814640)

Utilizator avatar Lucian_C Codescu Lucian Lucian_C IP ascuns
Problemă Parola (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 13 mar. 2025 20:09:43 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:21:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 21 | while( l2 <= a.size() - 1 && l >=0 ){ | ~~~^~~~~~~~~~~~~~~ main.cpp:27:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 27 | while(l2<=a.size()-1) | ~~^~~~~~~~~~~~ main.cpp:27:22: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 27 | while(l2<=a.size()-1) | ^~~~~ main.cpp:29:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 29 | while(l>=0) | ^~~~~
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 507 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100