| Problem | photo |
|---|---|
| User | Memeathon |
| Submission Time | 2025-02-07 15:52:00 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
photo.cpp:3:13: error: conversion from ‘long int’ to non-scalar type ‘std::priority_queue<std::pair<int, int>, std::vector<std::pair<int, int> >, std::greater<std::pair<int, int> > >’ requested
3 | #define INF 123456789123456789
| ^~~~~~~~~~~~~~~~~~
photo.cpp:8:57: note: in expansion of macro ‘INF’
8 | priority_queue<ii, vector<ii>, greater<ii>> pq, mx, ans=INF;
| ^~~
photo.cpp: In function ‘int main()’:
photo.cpp:16:20: error: no matching function for call to ‘max(std::priority_queue<std::pair<int, int>, std::vector<std::pair<int, int> >, std::greater<std::pair<int, int> > >&, int&)’
16 | mx=max(mx,a[i][0]);
| ^
In file included from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from