Borderou de evaluare (job #2255053)
Utilizator | Data | 6 octombrie 2018 13:01:09 | |
---|---|---|---|
Problema | Roata | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void cautbin(int)’:
user.cpp:13:31: error: ‘j’ was not declared in this scope
if(a[mij][col]-a[mij][j-1]-a[i][col-1]>x)
^
user.cpp:13:38: error: ‘i’ was not declared in this scope
if(a[mij][col]-a[mij][j-1]-a[i][col-1]>x)
^
user.cpp:17:27: error: ‘j’ was not declared in this scope
if(a[mij][col]-a[mij][j-1]-a[i][col-1]==x)
^
user.cpp:17:34: error: ‘i’ was not declared in this scope
if(a[mij][col]-a[mij][j-1]-a[i][col-1]==x)
^
user.cpp:19:24: error: expected primary-expression before ‘)’ token
if(mij+col-j-i>)
^
user.cpp:20:5: error: expected primary-expression before ‘}’ token
}
^
user.cpp: In function ‘int main()’:
user.cpp:40:21: error: too few arguments to function ‘void cautbin(int)’
cautbin();
^
user.cpp:7:6: note: declared here
void cautbin(int col)
^~~~~~~
user.cpp:38:17: warning: unused variable ‘lin’ [-Wunused-variable]
int lin=1,col=1;
^~~
user.cpp:38:23: warning: unused variable ‘col’ [-Wunused-variable]
int lin=1,col=1;
^~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !