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

Compile Error

doubletrouble.cpp:4:7: error: ‘ll’ does not name a type
4 | const ll MOD = 1000000007;
| ^~
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:20:3: error: ‘ll’ was not declared in this scope
20 | ll f = pq.top();
| ^~
doubletrouble.cpp:22:10: error: ‘f’ was not declared in this scope
22 | while (f*2<=p && k>0){
| ^
doubletrouble.cpp:26:11: error: ‘f’ was not declared in this scope
26 | pq.push(f);
| ^
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