Borderou de evaluare (job #803138)

Utilizator avatar sorinchetrosanu Chetroșanu Sorin sorinchetrosanu IP ascuns
Problemă Paranteze2 (clasa a 7-a) Compilator cpp-32
Rundă lasm_09_01_2025_clasa11 Status evaluat
Dată 9 ian. 2025 14:48:42 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 11 | for (int i=0;i<S.size()/2;i++) | ~^~~~~~~~~~~ main.cpp:15:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 15 | if (j==S.size()/2) {m=m+S.size()/2;} | ~^~~~~~~~~~~~ main.cpp:17:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 17 | for (int i=0;i<S.size();i++) | ~^~~~~~~~~ main.cpp:22:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 22 | if (x!=S.size()/2 && j!=S.size()/2) | ~^~~~~~~~~~~~ main.cpp:22:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 22 | if (x!=S.size()/2 && j!=S.size()/2) | ~^~~~~~~~~~~~ main.cpp:24:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 24 | if (x>S.size()/2) {m=m+(x-(S.size()/2));} | ~^~~~~~~~~~~ main.cpp:27:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 27 | if (x==S.size()||y==S.size()) | ~^~~~~~~~~~ main.cpp:27:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 27 | if (x==S.size()||y==S.size()) | ~^~~~~~~~~~ main.cpp:29:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 29 | if (x==y &&j!=S.size()/2) {m=0;} | ~^~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test Punctaj/grupă
1 1 ms 245 kb OK 10 10
2 1 ms 245 kb OK 10 10
3 1 ms 245 kb Incorect 0 0
4 1 ms 266 kb OK 10 10
5 1 ms 245 kb Incorect 0 0
6 1 ms 507 kb OK 10 10
7 1 ms 528 kb OK 10 0
8 1 ms 507 kb OK 10
9 1 ms 507 kb OK 10
10 1 ms 499 kb Incorect 0
Punctaj total 40