Borderou de evaluare (job #3376941)
| Utilizator | Data | 20 noiembrie 2026 15:30:49 | |
|---|---|---|---|
| Problema | Combinari | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: 'ofastream' does not name a type
5 | ofastream cout("combinari.out");
| ^~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:30:13: error: 'cout' was not declared in this scope
30 | cout<<v[i]<< " ";
| ^~~~
main.cpp:3:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
2 | #include <vector>
+++ |+#include <iostream>
3 | using namespace std;
main.cpp:31:9: error: 'cout' was not declared in this scope
31 | cout<<"\n";
| ^~~~
main.cpp:31:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
