Borderou de evaluare (job #2174979)
Utilizator | Data | 16 martie 2018 14:35:11 | |
---|---|---|---|
Problema | Mxl | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Calc(int, int)’:
user.cpp:46:10: error: ‘refer’ was not declared in this scope
refer=false;
^
user.cpp:54:29: error: ‘nr1’ was not declared in this scope
nr1=nr1*10+a[i][j][k]-'0';
^
user.cpp:58:29: error: ‘nr2’ was not declared in this scope
nr2=nr2*10+a[i][j][k]-'0';
^
user.cpp: In function ‘void Rezv()’:
user.cpp:70:28: warning: NULL used in arithmetic [-Wpointer-arith]
if(a[i][j][0]!=NULL)
^
user.cpp:66:13: warning: unused variable ‘k’ [-Wunused-variable]
int i,j,k,nr1,nr2,sum=0;
^
user.cpp:66:15: warning: unused variable ‘nr1’ [-Wunused-variable]
int i,j,k,nr1,nr2,sum=0;
^
user.cpp:66:19: warning: unused variable ‘nr2’ [-Wunused-variable]
int i,j,k,nr1,nr2,sum=0;
^
user.cpp:66:23: warning: unused variable ‘sum’ [-Wunused-variable]
int i,j,k,nr1,nr2,sum=0;
^
user.cpp:67:10: warning: unused variable ‘refer’ [-Wunused-variable]
bool refer;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !