Problem photo
User Memeathon
Submission Time 2025-02-07 15:53:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

photo.cpp:7:1: error: ‘ll’ does not name a type
7 | ll n, s, a[maxn][maxn], ptr[maxn], mx, ans=INF;
| ^~
photo.cpp: In function ‘int main()’:
photo.cpp:10:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
10 | cin >> n >> s;
| ^
| yn
photo.cpp:10:14: error: ‘s’ was not declared in this scope
10 | cin >> n >> s;
| ^
photo.cpp:13:11: error: ‘a’ was not declared in this scope
13 | cin >> a[i][j];
| ^
photo.cpp:15:12: error: ‘a’ was not declared in this scope
15 | pq.push({a[i][0], i});
| ^
photo.cpp:15:23: error: no matching function for call to ‘std::priority_queue<std::pair<int, int>, std::vector<std::pair<int, int> >, std::greater<std::pair<int, int> > >::push(<brace-enclosed initializer list>)’
15 | pq.push({a[i][0], i});
|