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

Compile Error

photo.cpp:4:9: error: ‘pair’ does not name a type
4 | typedef pair<int, int> ii
| ^~~~
photo.cpp:8:14: error: ‘maxn’ was not declared in this scope
8 | ll n, s, arr[maxn][maxn], ptr[maxn], mx, ans=INF;
| ^~~~
photo.cpp:8:20: error: ‘maxn’ was not declared in this scope
8 | ll n, s, arr[maxn][maxn], ptr[maxn], mx, ans=INF;
| ^~~~
photo.cpp:8:31: error: ‘maxn’ was not declared in this scope
8 | ll n, s, arr[maxn][maxn], ptr[maxn], mx, ans=INF;
| ^~~~
photo.cpp:9:16: error: ‘ii’ was not declared in this scope
9 | priority_queue<ii, vector<ii>, greater<ii>> pq;
| ^~
photo.cpp:9:27: error: ‘ii’ was not declared in this scope
9 | priority_queue<ii, vector<ii>, greater<ii>> pq;
| ^~
photo.cpp:9:29: error: template argument 1 is in