Borderou de evaluare (job #1473171)
| Utilizator | Data | 18 august 2015 19:19:31 | |
|---|---|---|---|
| Problema | Ciurul lui Eratosthenes | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:7:8: error: ‘n’ was not declared in this scope
bool v[n + 1];
^
user.cpp: In function ‘int ciur_eratostenes(int)’:
user.cpp:12:12: error: ‘v’ was not declared in this scope
if(v[i] != 0) continue;
^
user.cpp:16:13: error: ‘v’ was not declared in this scope
v[j] = 1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
