Problem numbergame
User Arjunironman8
Submission Time 2026-06-25 16:42:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

numbergame.cpp: In function ‘int main()’:
numbergame.cpp:30:2: error: ‘N’ was not declared in this scope
30 | N, X = map(int, input().split())
| ^
numbergame.cpp:30:5: error: ‘X’ was not declared in this scope
30 | N, X = map(int, input().split())
| ^
numbergame.cpp:7:13: error: expected primary-expression before ‘long’
7 | #define int long long
| ^~~~
numbergame.cpp:30:13: note: in expansion of macro ‘int’
30 | N, X = map(int, input().split())
| ^~~
numbergame.cpp:30:18: error: ‘input’ was not declared in this scope
30 | N, X = map(int, input().split())
| ^~~~~
numbergame.cpp:30:9: error: ‘map’ was not declared in this scope
30 | N, X = map(int, input().split())
| ^~~
numbergame.cpp:5:1: note: ‘std::map’ is defined in header ‘<map>’; did you forget to ‘#include <map>’?
4 | #include <queue>