Borderou de evaluare (job #3298610)
Utilizator | Data | 31 mai 2025 18:46:58 | |
---|---|---|---|
Problema | Cautare binara | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:1: error: 'ifstream' does not name a type
2 | ifstream cin("cow.in");
| ^~~~~~~~
main.cpp:3:1: error: 'ofsream' does not name a type
3 | ofsream cout("cow.out");
| ^~~~~~~
main.cpp: In function 'int main()':
main.cpp:8:5: error: 'cout' was not declared in this scope
8 | cout<<"3"<<endl<<"1";
| ^~~~
main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 | ifstream cin("cow.in");
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !