Borderou de evaluare (job #3128050)

Utilizator DenisMiricaDenis Mirica DenisMirica Data 8 mai 2023 14:09:46
Problema Paranteze Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int isBalanced(std::string)': main.cpp:21:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 21 | for (int i = 0; i < s.size(); i++) | ~~^~~~~~~~~~ main.cpp:40:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 40 | if (!st1.empty()) | ^~ main.cpp:42:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 42 | count1++; | ^~~~~~ main.cpp:47:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 47 | if (!st2.empty()) | ^~ main.cpp:49:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 49 | count2++; | ^~~~~~ main.cpp:54:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 54 | if (!st3.empty()) | ^~ main.cpp:56:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 56 | count3++; | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbIncorect0
60ms303kbIncorect0
70ms303kbIncorect0
80ms303kbIncorect0
90ms303kbIncorect0
100ms303kbIncorect0
110ms303kbIncorect0
120ms303kbIncorect0
130ms303kbIncorect0
140ms303kbIncorect0
150ms303kbIncorect0
160ms303kbIncorect0
170ms303kbIncorect0
180ms303kbIncorect0
190ms303kbIncorect0
200ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?