Borderou de evaluare (job #3182175)

Utilizator Le0nard27Anton Leonard Gabriel Le0nard27 Data 8 decembrie 2023 18:30:35
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int num(int, int)': main.cpp:34:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 34 | for(int i=st; i<=dr; i++) | ^~~ main.cpp:36:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 36 | return numar; | ^~~~~~ main.cpp: In function 'int solve(int, int)': main.cpp:62:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 62 | if(s[st]=='(' && s[dr]==')') | ^~ main.cpp:65:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 65 | return num(st,dr); | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
50ms303kbOK10
60ms303kbOK10
70ms303kbOK10
80ms303kbOK10
90ms303kbIncorect0
100ms303kbIncorect0
Punctaj total80

Ceva nu functioneaza?