Borderou de evaluare (job #2154513)
Utilizator | Data | 6 martie 2018 23:45:53 | |
---|---|---|---|
Problema | Perle | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:2: error: invalid preprocessing directive #defe
#defe DIM 11005
^
user.cpp:5:8: error: ‘DIM’ was not declared in this scope
char s[DIM], v[DIM];
^
user.cpp:5:16: error: ‘DIM’ was not declared in this scope
char s[DIM], v[DIM];
^
user.cpp: In function ‘int rezolva(char)’:
user.cpp:11:5: error: ‘s’ was not declared in this scope
s[1] = c;
^
user.cpp:20:24: error: ‘v’ was not declared in this scope
if(s[u] == v[i])
^
user.cpp:37:16: error: ‘v’ was not declared in this scope
if(v[i] == '3')
^
user.cpp:41:16: error: ‘v’ was not declared in this scope
if(v[i] == '1')
^
user.cpp:51:12: error: ‘v’ was not declared in this scope
if(v[i] == '2')
^
user.cpp:55:12: error: ‘v’ was not declared in this scope
if(v[i] == '3')
^
user.cpp:61:12: error: ‘v’ was not declared in this scope
if(v[i] == '1')
^
user.cpp: In function ‘int main()’:
user.cpp:82:13: error: ‘v’ was not declared in this scope
v[i] = x + '0';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !