Borderou de evaluare (job #3265512)

Utilizator AlexandraVarutuValexandra AlexandraVarutu Data 30 decembrie 2024 18:10:27
Problema Problema Damelor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void printsol()': main.cpp:19:26: error: a function-definition is not allowed here before '{' token 19 | bool verif(int l, int c) { | ^ main.cpp:41:19: error: a function-definition is not allowed here before '{' token 41 | void asezD(int c) { | ^ main.cpp:59:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 59 | int main() { | ^~ main.cpp:59:9: note: remove parentheses to default-initialize a variable 59 | int main() { | ^~ | -- main.cpp:59:9: note: or replace parentheses with braces to value-initialize a variable main.cpp:59:12: error: a function-definition is not allowed here before '{' token 59 | int main() { | ^ main.cpp:64:2: error: expected '}' at end of input 64 | } | ^ main.cpp:10:17: note: to match this '{' 10 | void printsol() { | ^ Non zero exit status: 1

Ceva nu functioneaza?