Borderou de evaluare (job #2990961)
Utilizator | Data | 8 martie 2023 20:15:28 | |
---|---|---|---|
Problema | Tsunami | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:35:35: error: cannot convert 'short int (*)[1002]' to 'short int (*)[1001]'
35 | if(v[i][j]==0)fil(i,j,v,n,m,s,h);
| ^
| |
| short int (*)[1002]
main.cpp:8:28: note: initializing argument 3 of 'void fil(int, int, short int (*)[1001], int, int, int&, int)'
8 | void fil(int i,int j,short v[1001][1001],int n,int m,int& s,int h)
| ~~~~~~^~~~~~~~~~~~~
main.cpp:26:23: warning: unused variable 'x' [-Wunused-variable]
26 | int i,j,n,m,h,s=0,x;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !