Borderou de evaluare (job #2140499)
Utilizator | Data | 23 februarie 2018 15:59:07 | |
---|---|---|---|
Problema | Padure | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:1: error: expected initializer before ‘short’
short sti[4000103],stj[4000103],vv[1002][1002];
^
user.cpp: In function ‘int main()’:
user.cpp:18:13: error: ‘vx’ was not declared in this scope
vx[i][j]++;
^
user.cpp:21:5: error: ‘sti’ was not declared in this scope
sti[1]=a;
^
user.cpp:22:5: error: ‘stj’ was not declared in this scope
stj[1]=b;
^
user.cpp:25:12: error: ‘vx’ was not declared in this scope
if(vx[sti[st]][stj[st]+1]!=0)
^
user.cpp:33:21: error: ‘vv’ was not declared in this scope
vv[sti[st]][stj[st]+1]=vv[sti[st]][stj[st]];
^
user.cpp:35:21: error: ‘vv’ was not declared in this scope
vv[sti[st]][stj[st]+1]=vv[sti[st]][stj[st]]+1;
^
user.cpp:42:24: error: ‘vv’ was not declared in this scope
if(vv[sti[st]][stj[st]+1]>vv[sti[st]][stj[st]])
^
user.cpp:52:24: error: ‘vv’ was not declared in this scope
if(vv[sti[st]][stj[st]+1]>vv[sti[st]][stj[st]]+1)
^
user.cpp:63:12: error: ‘vx’ was not declared in this scope
if(vx[sti[st]][stj[st]-1]!=0)
^
user.cpp:71:21: error: ‘vv’ was not declared in this scope
vv[sti[st]][stj[st]-1]=vv[sti[st]][stj[st]];
^
user.cpp:73:21: error: ‘vv’ was not declared in this scope
vv[sti[st]][stj[st]-1]=vv[sti[st]][stj[st]]+1;
^
user.cpp:80:24: error: ‘vv’ was not declared in this scope
if(vv[sti[st]][stj[st]-1]>vv[sti[st]][stj[st]])
^
user.cpp:90:24: error: ‘vv’ was not declared in this scope
if(vv[sti[st]][stj[st]-1]>vv[sti[st]][stj[st]]+1)
^
user.cpp:101:12: error: ‘vx’ was not declared in this scope
if(vx[sti[st]+1][stj[st]]!=0)
^
user.cpp:109:21: error: ‘vv’ was not declared in this scope
vv[sti[st]+1][stj[st]]=vv[sti[st]][stj[st]];
^
user.cpp:111:21: error: ‘vv’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !