| Problem | photo |
|---|---|
| User | wahjsodhowasd |
| Submission Time | 2026-02-19 09:57:47 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
photo.cpp: In function ‘int main()’:
photo.cpp:21:11: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘second’
21 | current[v.second]=v.first;
| ^~~~~~
photo.cpp:21:21: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘first’
21 | current[v.second]=v.first;
| ^~~~~
photo.cpp:24:28: error: ‘LLONG_MAX’ was not declared in this scope
24 | long long mn = LLONG_MAX, mx = LLONG_MIN;
| ^~~~~~~~~
photo.cpp:3:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <algorithm>
+++ |+#include <climits>
3 | #include <vector>
photo.cpp:26:30: error: no match for call to ‘(std::vector<std::pair<long long int, long long int> >) (long long int&, std::tuple_elem