Borderou de evaluare (job #1896129)
Utilizator | Data | 28 februarie 2017 14:27:43 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:18: error: ‘x’ was not declared in this scope
fin>>x;
^
user.cpp:16:19: error: invalid types ‘int[int]’ for array subscript
v[i][j]=x-'0';
^
user.cpp:17:22: error: invalid types ‘int[int]’ for array subscript
if(v[i][j]==0){
^
user.cpp:18:17: error: ‘lib’ was not declared in this scope
lib[++nr].l=i;
^
user.cpp:18:23: error: ‘nr’ was not declared in this scope
lib[++nr].l=i;
^
user.cpp:22:16: error: ‘nr’ was not declared in this scope
for(i=1;i<=nr;i++){
^
user.cpp:23:9: error: ‘st’ was not declared in this scope
st=lib[i].l;
^
user.cpp:23:12: error: ‘lib’ was not declared in this scope
st=lib[i].l;
^
user.cpp:24:9: error: ‘dr’ was not declared in this scope
dr=lib[i].c;
^
user.cpp:25:18: error: ‘u’ was not declared in this scope
while(p<=u){
^
user.cpp:26:13: error: ‘ic’ was not declared in this scope
ic=lib[i].l;
^
user.cpp:27:13: error: ‘jc’ was not declared in this scope
jc=lib[i].c;
^
user.cpp:29:17: error: ‘im’ was not declared in this scope
im=ic+di[j];
^
user.cpp:30:17: error: ‘jm’ was not declared in this scope
jm=dj+dj[j];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !