Borderou de evaluare (job #2618191)

Utilizator pascustefanPascu Stefan Liviu pascustefan Data 23 mai 2020 20:32:38
Problema Paranteze Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:22:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (vf>=0 && (c==')' && st[vf]=='(' || c==']' && st[vf]=='[' || c=='}' && st[vf]=='{')) ~~~~~~~^~~~~~~~~~~~~~ main.cpp:22:84: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (vf>=0 && (c==')' && st[vf]=='(' || c==']' && st[vf]=='[' || c=='}' && st[vf]=='{')) ~~~~~~~^~~~~~~~~~~~~~ main.cpp:13:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (f>>c) ^~~~~ main.cpp:27:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' if (nr>nrmax) nrmax=nr; ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbIncorect0
32ms131kbIncorect0
42ms131kbIncorect0
52ms131kbIncorect0
62ms131kbIncorect0
72ms131kbIncorect0
82ms131kbIncorect0
92ms131kbIncorect0
102ms131kbIncorect0
113ms131kbIncorect0
124ms131kbIncorect0
137ms131kbIncorect0
1412ms131kbIncorect0
1533ms262kbIncorect0
1637ms393kbIncorect0
1742ms393kbIncorect0
1847ms393kbIncorect0
1952ms393kbIncorect0
2050ms524kbIncorect0
Punctaj total5

Ceva nu functioneaza?