Problem monsters
User YSH2020
Submission Time 2023-12-20 14:36:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

monsters.cpp:21:47: error: stray ‘#’ in program
21 | while (x[i].first <= c) {big.push(x[a#include <bits/stdc++.h>
| ^
monsters.cpp: In function ‘int main()’:
monsters.cpp:21:46: error: ‘a’ was not declared in this scope
21 | while (x[i].first <= c) {big.push(x[a#include <bits/stdc++.h>
| ^
monsters.cpp:21:47: error: expected ‘]’ before ‘include’
21 | while (x[i].first <= c) {big.push(x[a#include <bits/stdc++.h>
| ^~~~~~~~
| ]
monsters.cpp:24:12: error: a function-definition is not allowed here before ‘{’ token
24 | int main() {
| ^
monsters.cpp:46:3: error: expected ‘;’ before ‘]’ token
46 | }i].second); i++;}
| ^
| ;