Borderou de evaluare (job #960079)
Utilizator | Sergiu xSlive | Data | 9 iunie 2013 18:45:33 |
---|---|---|---|
Problema | Ciurul lui Eratosthenes | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:5: error: expected initializer before ‘ifstream’
ifstream f("ciur.in");
^
user.cpp:9:5: error: ‘f’ was not declared in this scope
f>>n;
^
user.cpp:11:9: error: ‘a’ was not declared in this scope
a[i]=1;
^
user.cpp:14:12: error: ‘a’ was not declared in this scope
if(a[i])
^
user.cpp:17:13: error: ‘a’ was not declared in this scope
a[j]=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !