Problem papaya
User Mimikyu
Submission Time 2024-10-18 22:14:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

papaya.cpp: In function ‘int main()’:
papaya.cpp:25:24: error: expected ‘;’ before ‘long’
25 | int a,b;cin>>a>>b;a
| ^
| ;
papaya.cpp:29:18: error: ‘arr’ was not declared in this scope
29 | cin>>arr[i][j];
| ^~~
papaya.cpp:39:31: error: ‘arr’ was not declared in this scope
39 | temp=max(temp,arr[p.f+dx[i]][p.s+dy[i]]);
| ^~~
papaya.cpp:44:16: error: ‘arr’ was not declared in this scope
44 | if(arr[p.f+dx[i]][p.s+dy[i]]==temp){
| ^~~
papaya.cpp:50:18: error: ‘arr’ was not declared in this scope
50 | cout<<papaya+arr[a-1][b-1]+arr[0][0];
| ^~~