Borderou de evaluare (job #801365)

Utilizator avatar tudor.matei.bondei@gmail.com Bondei Tudor tudor.matei.bondei@gmail.com IP ascuns
Problemă Loto ( clasa a 6-a ) Compilator cpp-32
Rundă Christmas Gift Status evaluat
Dată 28 dec. 2024 19:44:11 Scor 95

Raport evaluator

Compilare: main.cpp: In function 'int diferenta(int)': main.cpp:28:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 28 | if (minn > d || minn == d && maxx < x[i]){ | ~~~~~~~~~~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:49:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 49 | for (i = 0; i < 6; i++) | ^~~ main.cpp:51:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 51 | return 0; | ^~~~~~ main.cpp:38:15: warning: unused variable 'minn' [-Wunused-variable] 38 | int i, z, minn, maxx; | ^~~~ main.cpp:38:21: warning: unused variable 'maxx' [-Wunused-variable] 38 | int i, z, minn, maxx; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 5 ms 245 kb OK 10
2 6 ms 245 kb OK 10
3 3 ms 249 kb OK 10
4 5 ms 245 kb OK 10
5 3 ms 245 kb OK 10
6 5 ms 245 kb OK 10
7 6 ms 245 kb OK 10
8 5 ms 245 kb OK 10
9 6 ms 245 kb OK 10
10 5 ms 245 kb OK 10
Penalizare: 5% (pentru 1 submisie/ii) 5%
Punctaj total 95