Problem doubletrouble
User PlayVoltz
Submission Time 2023-09-11 14:12:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

doubletrouble.cpp: In function ‘int main()’:
doubletrouble.cpp:14:7: error: ‘ll’ was not declared in this scope
14 | for (ll i=0; i<n; ++i){
| ^~
doubletrouble.cpp:14:15: error: ‘i’ was not declared in this scope
14 | for (ll i=0; i<n; ++i){
| ^
doubletrouble.cpp:28:7: error: ‘ll’ was not declared in this scope
28 | for (ll i=1; i<k%n; ++i){
| ^~
doubletrouble.cpp:28:15: error: ‘i’ was not declared in this scope
28 | for (ll i=1; i<k%n; ++i){
| ^
doubletrouble.cpp:31:2: error: ‘ll’ was not declared in this scope
31 | ll ans = pq.top();
| ^~
doubletrouble.cpp:32:9: error: expected ‘;’ before ‘i’
32 | for (ll i=0; i<1+k/n; ++i){
| ^~
| ;
doubletrouble.cpp:32:15: error: ‘i’ was not declared in this scope
32 | for (ll i=0; i<1+k/n; ++i){
| ^
doubletrouble.cpp: