Borderou de evaluare (job #1498632)
Utilizator | Data | 8 octombrie 2015 21:09:30 | |
---|---|---|---|
Problema | Bunicu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:2: error: invalid preprocessing directive #DEFINE
#DEFINE dim 1001
^
user.cpp: In function ‘int main()’:
user.cpp:27:15: error: ‘dim’ was not declared in this scope
int s[dim] = {0};
^
user.cpp:35:13: error: ‘s’ was not declared in this scope
s[suma(nr)] = 1;
^
user.cpp:39:18: error: ‘s’ was not declared in this scope
if (!s[i]) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !