Problem | lualectures |
---|---|
User | popperoni |
Submission Time | 2024-12-09 11:53:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lualectures.cpp: In function ‘int main()’:
lualectures.cpp:24:8: error: ‘a’ was not declared in this scope
24 | cin>>a>>b;awa.push({a,{b,i}});
| ^
lualectures.cpp:24:11: error: ‘b’ was not declared in this scope
24 | cin>>a>>b;awa.push({a,{b,i}});
| ^
lualectures.cpp:24:31: error: no matching function for call to ‘std::priority_queue<std::pair<long long int, std::pair<long long int, long long int> >, std::vector<std::pair<long long int, std::pair<long long int, long long int> > >, std::greater<std::pair<long long int, std::pair<long long int, long long int> > > >::push(<brace-enclosed initializer list>)’
24 | cin>>a>>b;awa.push({a,{b,i}});
| ^
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,