Borderou de evaluare (job #2955568)
Utilizator | Data | 17 decembrie 2022 13:16:13 | |
---|---|---|---|
Problema | Bilete | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void afisare(int)':
main.cpp:44:13: error: 'cout' was not declared in this scope
44 | cout << x[j];
| ^~~~
main.cpp:3:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
2 | #include <algorithm>
+++ |+#include <iostream>
3 | using namespace std;
main.cpp:45:9: error: 'cout' was not declared in this scope
45 | cout << '\n';
| ^~~~
main.cpp:45:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp: In function 'int backtracking(int)':
main.cpp:60:1: warning: no return statement in function returning non-void [-Wreturn-type]
60 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !