Borderou de evaluare (job #3345789)

Utilizator Gabriel_DaescuDaescu Gabriel Florin Gabriel_Daescu Data 11 martie 2026 09:51:49
Problema RangeMode Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void answer_query(int, int, int)': main.cpp:62:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 62 | int main() | ^~ main.cpp:62:9: note: remove parentheses to default-initialize a variable 62 | int main() | ^~ | -- main.cpp:62:9: note: or replace parentheses with braces to value-initialize a variable main.cpp:63:1: error: a function-definition is not allowed here before '{' token 63 | { | ^ main.cpp:105:2: error: expected '}' at end of input 105 | } | ^ main.cpp:44:1: note: to match this '{' 44 | { | ^ Non zero exit status: 1

Ceva nu functioneaza?