Borderou de evaluare (job #585212)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Matrix (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 9 mar. 2021 18:18:42 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:70:16: error: cannot convert 'int (*)[1001]' to 'int (*)[101]'
70 | FH(a,m,n);
| ^
| |
| int (*)[1001]
main.cpp:7:13: note: initializing argument 1 of 'void FH(int (*)[101], int, int)'
7 | void FH(int a[][101],int m, int n)
| ~~~~^~~~~~~~
main.cpp:72:16: error: cannot convert 'int (*)[1001]' to 'int (*)[101]'
72 | FV(a,m,n);
| ^
| |
| int (*)[1001]
main.cpp:19:13: note: initializing argument 1 of 'void FV(int (*)[101], int, int)'
19 | void FV(int a[][101], int m, int n)
| ~~~~^~~~~~~~
main.cpp:74:16: error: cannot convert 'int (*)[1001]' to 'int (*)[101]'
74 | RH(a,m,n);
| ^
| |
| int (*)[1001]
main.cpp:30:13: note: initializing argument 1 of 'void RH(int (*)[101], int, int)'
30 | void RH(int a[][101],int m, int n)
| ~~~~^~~~~~~~
main.cpp:76:16: error: cannot convert 'int (*)[1001]' to 'int (*)[101]'
76 | RV(a,m,n);
| ^
| |
| int (*)[1001]
main.cpp:42:13: note: initializing argument 1 of 'void RV(int (*)[101], int, int)'
42 | void RV(int a[][101],int m, int n)
| ~~~~^~~~~~~~
main.cpp:78:13: error: cannot convert 'int (*)[1001]' to 'int (*)[101]'
78 | afisare(a,m,n);
| ^
| |
| int (*)[1001]
main.cpp:54:18: note: initializing argument 1 of 'void afisare(int (*)[101], int, int)'
54 | void afisare(int a[][101],int m,int n)
| ~~~~^~~~~~~~