Problem monsters
User shadowblade2718
Submission Time 2026-04-29 15:52:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

monsters.cpp:4:13: error: ‘ll’ was not declared in this scope
4 | inline pair<ll, char> fast_input() {
| ^~
monsters.cpp:4:21: error: template argument 1 is invalid
4 | inline pair<ll, char> fast_input() {
| ^
monsters.cpp: In function ‘int fast_input()’:
monsters.cpp:6:2: error: ‘ll’ was not declared in this scope
6 | ll num = 0;
| ^~
monsters.cpp:16:3: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
16 | num = num * 10 + (c - '0');
| ^~~
| enum
monsters.cpp:20:9: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
20 | return num * sign;
| ^~~
| enum
monsters.cpp:22:47: error: a function-definition is not allowed here before ‘{’ token
22 | bool compare(pair<int,int> a, pair<int,int> b){
| ^
monster