Borderou de evaluare (job #2851121)

Utilizator thepunisher38Tomulescu Ninel thepunisher38 Data 18 februarie 2022 09:47:16
Problema Eq4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:22:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 22 | for (int i=0;i<expr.size();i++) | ~^~~~~~~~~~~~ main.cpp:42:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 42 | if (expr[i-1]=='-') | ^~ main.cpp:45:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 45 | cx = cx + semn*nrcrt; | ^~ main.cpp:87:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 87 | for (int x=a;x<=b;x++) | ^~~ main.cpp:95:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 95 | cout << endl; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbCorect1
22ms184kbCorect1
32ms184kbCorect4
42ms184kbCorect4
52ms184kbCorect5
62ms184kbCorect5
72ms184kbCorect5
811ms393kbCorect5
92ms184kbCorect5
102ms184kbCorect5
112ms184kbCorect5
1229ms2711kbCorect5
13868ms4513kbCorect5
14238ms2691kbCorect5
15315ms4214kbCorect5
16216ms5029kbCorect5
172ms184kbCorect5
18281ms3616kbCorect5
19319ms4358kbCorect5
20657ms4476kbCorect5
2116ms651kbCorect5
22258ms3751kbCorect5
Punctaj total100

Ceva nu functioneaza?