Borderou de evaluare (job #2354205)
Utilizator | Data | 25 februarie 2019 00:28:57 | |
---|---|---|---|
Problema | Jocul Flip | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int find_col(int, int)':
main.cpp:31:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,s,sc=sum_col(1,nr),C=1;
^
main.cpp: In function 'int find_row(int, int)':
main.cpp:43:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,s,sr=sum_row(1,nc),R=1;
^
main.cpp: At global scope:
main.cpp:69:20: error: ISO C++ forbids declaration of 'read' with no type [-fpermissive]
read(int nr, int nc)
^
main.cpp: In function 'int read(int, int)':
main.cpp:75:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: At global scope:
main.cpp:77:21: error: ISO C++ forbids declaration of 'write' with no type [-fpermissive]
write(int nr, int nc)
^
main.cpp: In function 'int write(int, int)':
main.cpp:87:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: At global scope:
main.cpp:89:19: error: ISO C++ forbids declaration of 'sum' with no type [-fpermissive]
sum(int nr, int nc)
^
main.cpp: In function 'int main()':
main.cpp:100:13: warning: unused variable 'i' [-Wunused-variable]
int N,M,i,j,I,J;
^
main.cpp:100:15: warning: unused variable 'j' [-Wunused-variable]
int N,M,i,j,I,J;
^
main.cpp:100:17: warning: unused variable 'I' [-Wunused-variable]
int N,M,i,j,I,J;
^
main.cpp:100:19: warning: unused variable 'J' [-Wunused-variable]
int N,M,i,j,I,J;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !