Borderou de evaluare (job #2858334)
Utilizator | Data | 27 februarie 2022 13:06:39 | |
---|---|---|---|
Problema | Ciurul lui Eratosthenes | Status | done |
Runda | Arhiva educationala | Compilator | cpp-32 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:2: error: invalid preprocessing directive #i; did you mean #if?
1 | #i#include <fstream>
| ^
| if
main.cpp:3:1: error: 'ifstream' does not name a type
3 | ifstream in("ciur.in");
| ^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
4 | ofstream out("ciur.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:9:5: error: 'in' was not declared in this scope; did you mean 'i'?
9 | in>>n;
| ^~
| i
main.cpp:21:5: error: 'out' was not declared in this scope
21 | out<<x;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !