Borderou de evaluare (job #2542692)
Utilizator | Data | 10 februarie 2020 14:31:32 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:41: error: conflicting declaration 'int p [4][4]'
int tetse, n, p, i, j, mat[4][4], p[4][4], mod;
^
main.cpp:7:15: note: previous declaration as 'int p'
int tetse, n, p, i, j, mat[4][4], p[4][4], mod;
^
main.cpp:9:32: error: 'ok' has not been declared
void initializare(int a[4][4], ok){
^~
main.cpp: In function 'void initializare(int (*)[4], int)':
main.cpp:13:12: error: 'ok' was not declared in this scope
if(ok==1){
^~
main.cpp:27:12: error: 'ok' was not declared in this scope
if(ok==2){
^~
main.cpp: In function 'int main()':
main.cpp:55:10: error: 'teste' was not declared in this scope
fin>>teste;
^~~~~
main.cpp:58:25: error: too few arguments to function 'void initializare(int (*)[4], int)'
initializare(mat);
^
main.cpp:9:6: note: declared here
void initializare(int a[4][4], ok){
^~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !