Borderou de evaluare (job #3284469)
Utilizator | Data | 11 martie 2025 17:38:25 | |
---|---|---|---|
Problema | Ciurul lui Eratosthenes | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:12: error: expected ']' before numeric constant
8 | char v[2000 000];
| ^~~~
| ]
main.cpp: In function 'int main()':
main.cpp:14:9: error: 'v' was not declared in this scope
14 | v[0]='1';
| ^
main.cpp:20:12: error: 'v' was not declared in this scope
20 | if(v[d]=='0'){
| ^
main.cpp:27:12: error: 'v' was not declared in this scope
27 | if(v[i]=='0')
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !