Borderou de evaluare (job #3133996)

Utilizator DonchoBonbonchoAndon Tepavicharov DonchoBonboncho Data 27 mai 2023 20:43:45
Problema Easy Query Status done
Runda Lista lui wefgef Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In member function 'void Node::print()': main.cpp:12:14: error: expected unqualified-id before 'if' 12 | #define cerr if(false) cerr | ^~ main.cpp:35:22: note: in expansion of macro 'cerr' 35 | std::cerr<<" max - "<<max<<" min - "<<min<<" maxD - "<<maxDif<<" minD - "<<minDif<<"\n"; | ^~~~ main.cpp: In function 'void build(int, int, int)': main.cpp:12:14: error: expected unqualified-id before 'if' 12 | #define cerr if(false) cerr | ^~ main.cpp:54:22: note: in expansion of macro 'cerr' 54 | std::cerr<<" tree["<<x<<"] min = max = "<<a[l]<<"\n"; | ^~~~ main.cpp: In function 'Node query(int, int, int, int, int)': main.cpp:12:14: error: expected unqualified-id before 'if' 12 | #define cerr if(false) cerr | ^~ main.cpp:68:14: note: in expansion of macro 'cerr' 68 | std::cerr<<l<<" , "<<r<<" - !"<<x<<" "<<lx<<" "<<rx<<"\n"; | ^~~~ main.cpp:12:14: error: expected unqualified-id before 'if' 12 | #define cerr if(false) cerr | ^~ main.cpp:70:22: note: in expansion of macro 'cerr' 70 | std::cerr<<" otvanka\n"; | ^~~~ main.cpp:12:14: error: expected unqualified-id before 'if' 12 | #define cerr if(false) cerr | ^~ main.cpp:74:22: note: in expansion of macro 'cerr' 74 | std::cerr<<" celiq vatre\n "; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?