Borderou de evaluare (job #714308)

Utilizator avatar ottoalex293 Paraschiva Octavian ottoalex293 IP ascuns
Problemă Agenda (baraj gimnaziu) Compilator cpp-32
Rundă Tema 21 Clasa a 7-a Status evaluat
Dată 2 apr. 2023 11:22:24 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool Sort(interv, interv)': main.cpp:25:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 25 | if(a.val<b.val) | ^~ main.cpp:28:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 28 | if(a.val==b.val &&a.val<b.val) | ^~ main.cpp: In function 'int main()': main.cpp:69:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 69 | while((i<lg)&&(s[i]==' '||s[i]=='0')) | ^~~~~ main.cpp:75:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 75 | ll=0; | ^~ main.cpp:77:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 77 | while((i<lg)&&(s[i]>='a'&&s[i]<='z')||(s[i]>='A'&&s[i]<='Z')){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:101:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 101 | while((i<lg)&&(s[i]==' '||s[i]=='0')) | ^~~~~ main.cpp:105:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 105 | ora1=0; | ^~~~ main.cpp:167:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 167 | while((i<lg)&&(s[i]==' '||s[i]=='0')) | ^~~~~ main.cpp:173:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 173 | ll=0; | ^~ main.cpp:175:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 175 | while((i<lg)&&(s[i]>='a'&&s[i]<='z')||(s[i]>='A'&&s[i]<='Z')){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:199:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 199 | while((i<lg)&&(s[i]==' '||s[i]=='0')) | ^~~~~ main.cpp:202:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 202 | ora2=0; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 245 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 245 kb OK 5
5 1 ms 245 kb OK 5
6 1 ms 245 kb OK 5
7 1 ms 245 kb OK 5
8 1 ms 245 kb OK 5
9 1 ms 245 kb OK 5
10 1 ms 249 kb OK 5
11 1 ms 249 kb OK 5
12 1 ms 249 kb OK 5
13 1 ms 245 kb OK 5
14 1 ms 245 kb OK 5
15 1 ms 245 kb OK 5
16 1 ms 249 kb OK 5
17 1 ms 249 kb OK 5
18 1 ms 249 kb OK 5
19 8 ms 241 kb OK 5
20 1 ms 249 kb OK 5
Punctaj total 100