Borderou de evaluare (job #1932633)
| Utilizator | Data | 19 martie 2017 22:28:10 | |
|---|---|---|---|
| Problema | Ciurul lui Eratosthenes | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:2:1: error: ‘ifstream’ does not name a type
ifstream fin("ciur.in");
^
user.cpp:3:1: error: ‘ofstream’ does not name a type
ofstream fout("ciur.out");
^
user.cpp: In function ‘int main()’:
user.cpp:9:5: error: ‘fin’ was not declared in this scope
{ fin>>n;
^
user.cpp:13:5: error: ‘fout’ was not declared in this scope
fout<<nr<<'\n';
^
user.cpp:13:19: error: expected ‘}’ at end of input
fout<<nr<<'\n';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
