Borderou de evaluare (job #812380)

Utilizator avatar SpeedyAlexR Alexandru Ristea SpeedyAlexR IP ascuns
Problemă Loto ( clasa a 6-a ) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 3 mar. 2025 14:00:58 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:40:49: error: expected ')' before '{' token 40 | if (prev_dif_min>abs(min_nr - neextrase[i]){ | ~ ^ | ) main.cpp:44:5: error: expected primary-expression before '}' token 44 | } | ^ main.cpp:47:49: error: expected ')' before '{' token 47 | if (prev_dif_max>abs(max_nr - neextrase[i]){ | ~ ^ | ) main.cpp:51:5: error: expected primary-expression before '}' token 51 | } | ^ main.cpp:35:22: warning: unused variable 'curr_dif_min' [-Wunused-variable] 35 | int prev_dif_min,curr_dif_min,prev_dif_max,curr_dif_max, replace_min, replace_max; | ^~~~~~~~~~~~ main.cpp:35:48: warning: unused variable 'curr_dif_max' [-Wunused-variable] 35 | int prev_dif_min,curr_dif_min,prev_dif_max,curr_dif_max, replace_min, replace_max; | ^~~~~~~~~~~~