Borderou de evaluare (job #3221015)

Utilizator PatrickvasileSoltan Cristian Patrickvasile Data 5 aprilie 2024 18:42:41
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

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

Ceva nu functioneaza?