Borderou de evaluare (job #3144498)

Utilizator hhhhhhhAndrei Boaca hhhhhhh Data 8 august 2023 16:19:54
Problema Turneu Status done
Runda omg_am_revenit Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void test()': main.cpp:5:13: error: expected primary-expression before 'long' 5 | #define int long long | ^~~~ main.cpp:42:12: note: in expansion of macro 'int' 42 | if(int(2.0*a)!=2.0*a) | ^~~ main.cpp:42:12: error: expected ')' before 'long' 42 | if(int(2.0*a)!=2.0*a) | ~^ | ) main.cpp:37:9: warning: unused variable 'cntmax' [-Wunused-variable] 37 | int cntmax=0; | ^~~~~~ main.cpp:63:9: warning: unused variable 'need' [-Wunused-variable] 63 | int need=n-1; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?