Borderou de evaluare (job #3161448)
Utilizator | Data | 27 octombrie 2023 09:37:00 | |
---|---|---|---|
Problema | Nrsec | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool check(long long int)':
main.cpp:51:13: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
51 | signed main ()
| ^~
main.cpp:51:13: note: remove parentheses to default-initialize a variable
51 | signed main ()
| ^~
| --
main.cpp:51:13: note: or replace parentheses with braces to value-initialize a variable
main.cpp:52:1: error: a function-definition is not allowed here before '{' token
52 | {
| ^
main.cpp:73:2: error: expected '}' at end of input
73 | }
| ^
main.cpp:34:26: note: to match this '{'
34 | bool check (long long m) {
| ^
main.cpp:73:2: warning: control reaches end of non-void function [-Wreturn-type]
73 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !