Borderou de evaluare (job #1833434)

Utilizator StefanIonescuStefan Ionescu StefanIonescu Data 22 decembrie 2016 12:21:41
Problema Ciurul lui Eratosthenes Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:1: error: expected initializer before ‘int’ int n; ^ user.cpp: In function ‘int main()’: user.cpp:13:9: error: ‘n’ was not declared in this scope in>>n; ^ user.cpp:17:9: error: ‘v’ was not declared in this scope v[j]=1; ^ user.cpp:20:8: error: ‘v’ was not declared in this scope if(v[i]==0) ^

Ceva nu functioneaza?