Borderou de evaluare (job #1952437)
Utilizator | Data | 4 aprilie 2017 09:32:18 | |
---|---|---|---|
Problema | Aiacucmmdc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:1: error: expected unqualified-id before ‘bool’
bool a[1000005];
^
user.cpp: In function ‘int main()’:
user.cpp:18:25: error: ‘a’ was not declared in this scope
if (x % p == 0) a[i] = 1;
^
user.cpp:19:14: error: ‘a’ was not declared in this scope
else a[i] = 0;
^
user.cpp:25:13: error: ‘a’ was not declared in this scope
if (a[i] == 1) v[i] = v[i-1]+1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !