Borderou de evaluare (job #646122)

Utilizator avatar ottoalex293 Paraschiva Octavian ottoalex293 IP ascuns
Problemă Agenda (baraj gimnaziu) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 1 apr. 2022 18:26:14 Scor 75

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:67:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 67 | while((i<lg)&&(s[i]==' '||s[i]=='0')) | ^~~~~ main.cpp:73:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 73 | ll=0; | ^~ main.cpp:75:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 75 | while((i<lg)&&(s[i]>='a'&&s[i]<='z')||(s[i]>='A'&&s[i]<='Z')){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:99:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 99 | while((i<lg)&&(s[i]==' '||s[i]=='0')) | ^~~~~ main.cpp:103:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 103 | ora1=0; | ^~~~ main.cpp:165:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 165 | while((i<lg)&&(s[i]==' '||s[i]=='0')) | ^~~~~ main.cpp:171:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 171 | ll=0; | ^~ main.cpp:173:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 173 | while((i<lg)&&(s[i]>='a'&&s[i]<='z')||(s[i]>='A'&&s[i]<='Z')){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:197:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 197 | while((i<lg)&&(s[i]==' '||s[i]=='0')) | ^~~~~ main.cpp:200:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 200 | ora2=0; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 114 kb OK 5
3 1 ms 114 kb OK 5
4 1 ms 114 kb OK 5
5 1 ms 114 kb OK 5
6 1 ms 114 kb OK 5
7 1 ms 114 kb OK 5
8 1 ms 114 kb OK 5
9 1 ms 114 kb OK 5
10 1 ms 118 kb OK 5
11 6 ms 114 kb OK 5
12 1 ms 118 kb OK 5
13 1 ms 114 kb OK 5
14 1 ms 114 kb OK 5
15 1 ms 114 kb OK 5
16 1 ms 118 kb Killed by Signal 11 0
17 1 ms 118 kb Killed by Signal 11 0
18 6 ms 118 kb Killed by Signal 11 0
19 7 ms 118 kb Killed by Signal 11 0
20 1 ms 118 kb Killed by Signal 11 0
Punctaj total 75