Problem papaya
User TheInvadr
Submission Time 2024-12-29 11:49:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

papaya.cpp: In function ‘int main()’:
papaya.cpp:15:26: error: expected ‘;’ before ‘cout’
15 | cin.open("papaya.in")
| ^
| ;
16 | cout.open("papaya.out")
| ~~~~
papaya.cpp:18:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
18 | cin>>n>>m;
| ^
| yn
papaya.cpp:18:13: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
18 | cin>>n>>m;
| ^
| tm
papaya.cpp:20:54: error: ‘arr’ was not declared in this scope
20 | for(int i = 0;i<n;i++)for(int j = 0;j<m;j++)cin>>arr[i+1][j+1];
| ^~~
papaya.cpp:21:25: error: ‘arr’ was not declared in this scope
21 | long long int sum = arr[1][1];
| ^~~