Borderou de evaluare (job #1942199)
Utilizator | Data | 27 martie 2017 21:01:58 | |
---|---|---|---|
Problema | Noname | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void doit(int, int)’:
user.cpp:8:20: error: ‘n’ was not declared in this scope
for(int i=1;i<=n;++i){
^
user.cpp:9:9: error: ‘m’ was not declared in this scope
m[v1[q]][i]=(m[v1[q]][i]==-1)?qq:m[v1[q]][i];
^
user.cpp:9:11: error: ‘v1’ was not declared in this scope
m[v1[q]][i]=(m[v1[q]][i]==-1)?qq:m[v1[q]][i];
^
user.cpp:10:14: error: ‘v2’ was not declared in this scope
m[i][v2[q]]=(m[i][v2[q]]==-1)?qq:m[i][v2[q]];
^
user.cpp: In function ‘int main()’:
user.cpp:16:27: warning: unused variable ‘t’ [-Wunused-variable]
int v1[1002],v2[1002],t=0,n,m[1002][1002],a;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !