Borderou de evaluare (job #1841722)
Utilizator | Data | 5 ianuarie 2017 22:17:00 | |
---|---|---|---|
Problema | Jocul Flip | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:24: error: ‘n’ has not been declared
int flip(int a[20][20],n,m){
^
user.cpp:7:26: error: ‘m’ has not been declared
int flip(int a[20][20],n,m){
^
user.cpp: In function ‘int flip(int (*)[20], int, int)’:
user.cpp:9:17: error: ‘n’ was not declared in this scope
for(int i=0; i<n; i++){
^
user.cpp:10:18: error: ‘m’ was not declared in this scope
for(int j=0; j<m; j++){
^
user.cpp:18:17: error: ‘m’ was not declared in this scope
for(int j=0; j<m; j++){
^
user.cpp:19:18: error: ‘n’ was not declared in this scope
for(int i=0; i<n; i++){
^
user.cpp: In function ‘int main()’:
user.cpp:39:20: error: cannot convert ‘long int (*)[(((sizetype)(((ssizetype)M) + -1)) + 1)]’ to ‘int (*)[20]’ for argument ‘1’ to ‘int flip(int (*)[20], int, int)’
file_o<<flip(a,N,M);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !