Problem lualectures
User chickengoat
Submission Time 2025-12-05 16:18:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lualectures.cpp: In function ‘int main()’:
lualectures.cpp:31:11: error: expected primary-expression before ‘,’ token
31 | pair<ll,ll> j={dq.front().first.second,latestlecture}
| ^
lualectures.cpp:31:14: error: expected primary-expression before ‘>’ token
31 | pair<ll,ll> j={dq.front().first.second,latestlecture}
| ^
lualectures.cpp:31:16: error: ‘j’ was not declared in this scope
31 | pair<ll,ll> j={dq.front().first.second,latestlecture}
| ^
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from lualectures.cpp:1:
/usr/include/c++/9/bits/stl_algo.h: In instantiation of ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::pair<std::pair<long long int, long long int>, long long int>; _Compare