Problem photo
User Memeathon
Submission Time 2025-02-07 13:46:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

photo.cpp:8:1: error: ‘ll’ does not name a type
8 | ll n, s, arr[maxn][maxn], ptr[maxn], mx, ans=INF;
| ^~
photo.cpp: In function ‘int main()’:
photo.cpp:11:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
11 | cin >> n >> s;
| ^
| yn
photo.cpp:11:14: error: ‘s’ was not declared in this scope
11 | cin >> n >> s;
| ^
photo.cpp:12:14: error: expected ‘;’ before ‘i’
12 | for (int i=0 i<n; ++i) {
| ^~
| ;
photo.cpp:14:11: error: ‘arr’ was not declared in this scope
14 | cin >> arr[i][j];
| ^~~
photo.cpp:16:8: error: ‘arr’ was not declared in this scope
16 | sort(arr, arr+s);
| ^~~
photo.cpp:17:25: error: no matching function for call to ‘std::priority_queue<std::pair<int, int>, std::vector<std::pair<int, int> >, st