Borderou de evaluare (job #3170292)

Utilizator Beverita2345Bretan Alexandru Beverita2345 Data 17 noiembrie 2023 12:01:23
Problema Interesant Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool chck(std::string, std::string)': main.cpp:40:14: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 40 | for(int i()) | ^~ main.cpp:40:14: note: remove parentheses to default-initialize a variable 40 | for(int i()) | ^~ | -- main.cpp:40:14: note: or replace parentheses with braces to value-initialize a variable main.cpp:40:15: warning: declaration of 'int i()' has 'extern' and is initialized 40 | for(int i()) | ^ main.cpp:40:16: error: expected ';' before ')' token 40 | for(int i()) | ^ | ; main.cpp:40:16: error: expected primary-expression before ')' token main.cpp:40:16: error: expected ';' before ')' token 40 | for(int i()) | ^ | ; main.cpp:41:1: error: expected primary-expression before '}' token 41 | } | ^ main.cpp:41:1: warning: no return statement in function returning non-void [-Wreturn-type] Non zero exit status: 1

Ceva nu functioneaza?