Borderou de evaluare (job #1340377)

Utilizator euunuBolos Robert euunu Data 11 februarie 2015 19:43:52
Problema Ciurul lui Eratosthenes Status done
Runda 9neplace Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:13:12: warning: statement has no effect [-Wunused-value] ciur[i]==true; ^ user.cpp:14:6: error: ‘fin’ was not declared in this scope fin>>x; ^ user.cpp:17:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(ciur[i]=true) ^ user.cpp:21:9: error: expected ‘;’ before ‘for’ for(j=i+i;j<=x;j=j+i) ^ user.cpp:21:20: warning: statement has no effect [-Wunused-value] for(j=i+i;j<=x;j=j+i) ^ user.cpp:21:29: error: expected ‘;’ before ‘)’ token for(j=i+i;j<=x;j=j+i) ^ user.cpp:23:7: error: ‘fout’ was not declared in this scope } fout<<cnt; ^

Ceva nu functioneaza?