Borderou de evaluare (job #2941200)
Utilizator | Data | 17 noiembrie 2022 11:53:50 | |
---|---|---|---|
Problema | Furnici | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:12: warning: missing terminating " character
6 | ofstream g("furnici1.out);
| ^
main.cpp:6:12: error: missing terminating " character
6 | ofstream g("furnici1.out);
| ^~~~~~~~~~~~~~~
main.cpp:8:13: error: expected ')' before '{' token
8 | void solve()
| ^
| )
9 | {
| ~
main.cpp:6:11: note: to match this '('
6 | ofstream g("furnici1.out);
| ^
main.cpp: In function 'std::ofstream g(void (*)())':
main.cpp:23:3: error: invalid operands of types 'std::ofstream(void (*)())' {aka 'std::basic_ofstream<char>(void (*)())'} and 'int' to binary 'operator<<'
23 | g<<max1;
| ~^~~~~~
| | |
| | int
| std::ofstream(void (*)()) {aka std::basic_ofstream<char>(void (*)())}
main.cpp:24:1: warning: no return statement in function returning non-void [-Wreturn-type]
24 | }
| ^
main.cpp: In function 'int main()':
main.cpp:28:2: error: 'solve' was not declared in this scope
28 | solve();
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !