Borderou de evaluare (job #1121631)

Utilizator PMadalin15Ioan Madalin PMadalin15 Data 25 februarie 2014 13:28:27
Problema Ciurul lui Eratosthenes Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:10: error: #include expects "FILENAME" or <FILENAME> #include fstream ^ user.cpp:3:1: error: ‘ifstream’ does not name a type ifstream f(ciur.in); ^ user.cpp:4:1: error: ‘ofstream’ does not name a type ofstream g(ciur.out); ^ user.cpp: In function ‘int main()’: user.cpp:8:5: error: ‘fn’ was not declared in this scope fn; ^ user.cpp:9:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(i=2;i=n;i++) ^ user.cpp:13:13: error: ‘gi’ was not declared in this scope gi ; ^ user.cpp:15:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(j=i+i;j=n;j=j+i) ^ user.cpp:19:5: error: ‘gc’ was not declared in this scope gc; ^ user.cpp:20:5: error: ‘f’ was not declared in this scope f.close(); ^ user.cpp:21:5: error: ‘g’ was not declared in this scope g.close(); ^

Ceva nu functioneaza?