Borderou de evaluare (job #2986519)
Utilizator | Data | 28 februarie 2023 18:30:02 | |
---|---|---|---|
Problema | Economie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:1: error: 'ofstrea' does not name a type
8 | ofstrea. cout("economie.out");
| ^~~~~~~
main.cpp: In function 'int main()':
main.cpp:20:5: error: 'sort' was not declared in this scope; did you mean 'short'?
20 | sort(v.begin(), v.end());
| ^~~~
| short
main.cpp:32:5: error: 'cout' was not declared in this scope
32 | cout << answer.size() << '\n';
| ^~~~
main.cpp:3:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
2 | #include <vector>
+++ |+#include <iostream>
3 | #define maximum 50001
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !