Problem lualectures
User ForgottenDragon
Submission Time 2025-12-05 15:23:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lualectures.cpp: In function ‘int main()’:
lualectures.cpp:47:21: error: ‘d’ was not declared in this scope
47 | pll{d, u} = endtimes.top();
| ^
lualectures.cpp:47:24: error: ‘u’ was not declared in this scope
47 | pll{d, u} = endtimes.top();
| ^
lualectures.cpp:47:25: error: no matching function for call to ‘std::pair<long long int, long long int>::pair(<brace-enclosed initializer list>)’
47 | pll{d, u} = endtimes.top();
| ^
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from lualectures.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:436:9: note: candidate: ‘template<clas