Borderou de evaluare (job #1161394)

Utilizator macajouMaca George macajou Data 31 martie 2014 11:09:34
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 stdio.h ^ user.cpp: In function ‘int main()’: user.cpp:10:13: error: ‘ciur’ was not declared in this scope freopen(ciur.in, r, stdin); ^ user.cpp:10:22: error: ‘r’ was not declared in this scope freopen(ciur.in, r, stdin); ^ user.cpp:10:25: error: ‘stdin’ was not declared in this scope freopen(ciur.in, r, stdin); ^ user.cpp:10:30: error: ‘freopen’ was not declared in this scope freopen(ciur.in, r, stdin); ^ user.cpp:11:23: error: ‘w’ was not declared in this scope freopen(ciur.out, w, stdout); ^ user.cpp:11:26: error: ‘stdout’ was not declared in this scope freopen(ciur.out, w, stdout); ^ user.cpp:13:11: error: expected primary-expression before ‘%’ token scanf(%d, &N); ^ user.cpp:13:12: error: ‘d’ was not declared in this scope scanf(%d, &N); ^ user.cpp:13:17: error: ‘scanf’ was not declared in this scope scanf(%d, &N); ^ user.cpp:14:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (i = 2; i = N; ++i) ^ user.cpp:16:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (i = 2; i = N; ++i) ^ user.cpp:20:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (j = i+i; j = N; j += i) ^ user.cpp:24:12: error: expected primary-expression before ‘%’ token printf(%dn, cnt); ^ user.cpp:24:13: error: ‘dn’ was not declared in this scope printf(%dn, cnt); ^ user.cpp:24:20: error: ‘printf’ was not declared in this scope printf(%dn, cnt); ^

Ceva nu functioneaza?