| Problem | photo |
|---|---|
| User | Daembt |
| Submission Time | 2026-02-21 12:44:19 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
photo.cpp: In function ‘int main()’:
photo.cpp:24:23: error: ‘INT_MAX’ was not declared in this scope
24 | int sm = 0, ans = INT_MAX;
| ^~~~~~~
photo.cpp:4:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include<algorithm>
+++ |+#include <climits>
4 | using namespace std;
photo.cpp:28:6: error: ‘class std::priority_queue<std::tuple<int, int, int>, std::vector<std::tuple<int, int, int> >, std::greater<void> >’ has no member named ‘push_back’
28 | cry.push_back({now,i,0});
| ^~~~~~~~~
photo.cpp:36:21: error: overloaded function with no contextual type information
36 | next = sch[ar][ix+1];
| ^
photo.cpp:37:18: error: no matching function for call to ‘max(int&, <unresolved overloaded function type>)’
37 | sm = max(sm,next);
|