Borderou de evaluare (job #3145701)
Utilizator | Data | 16 august 2023 18:14:04 | |
---|---|---|---|
Problema | Arbore | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve()':
main.cpp:20:16: error: 'cerr' was not declared in this scope
20 | #define bug(a) cerr << "(" << #a << ": " << a << ")\n";
| ^~~~
main.cpp:83:5: note: in expansion of macro 'bug'
83 | bug(poz);
| ^~~
main.cpp:13:1: note: 'std::cerr' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
12 | #include <queue>
+++ |+#include <iostream>
13 | #include <array>
main.cpp: At global scope:
main.cpp:162:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
162 | main()
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !