Borderou de evaluare (job #1839555)
Utilizator | Data | 3 ianuarie 2017 00:51:57 | |
---|---|---|---|
Problema | Ciurul lui Eratosthenes | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:19: error: expected ‘]’ before numeric constant
int n,m,i,j,d,v[2 000 001],w[101],s;
^
user.cpp: In function ‘int main()’:
user.cpp:10:16: error: ‘v’ was not declared in this scope
if(v[i]==0){
^
user.cpp:16:12: error: ‘v’ was not declared in this scope
if(v[i]==0){
^
user.cpp:17:13: error: ‘s’ was not declared in this scope
s++;
^
user.cpp:20:10: error: ‘s’ was not declared in this scope
out<<s;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !