Problem | horses |
---|---|
User | nyanyanya |
Submission Time | 2023-01-18 09:15:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
horses.cpp:5:7: error: ‘ll’ does not name a type
5 | const ll MOD = 1e9 + 7;
| ^~
horses.cpp:6:7: error: ‘ll’ does not name a type
6 | const ll MAX_N = 500005;
| ^~
horses.cpp:7:1: error: ‘ll’ does not name a type
7 | ll n, x[MAX_N], y[MAX_N];
| ^~
horses.cpp:10:2: error: ‘ll’ does not name a type
10 | ll s, e, m, val;
| ^~
horses.cpp:12:10: error: expected ‘)’ before ‘S’
12 | node1(ll S, ll E){
| ~ ^~
| )
horses.cpp:21:14: error: ‘ll’ has not been declared
21 | void update(ll P, ll V){
| ^~
horses.cpp:21:20: error: ‘ll’ has not been declared
21 | void update(ll P, ll V){
| ^~
horses.cpp:29:2: error: ‘ll’ does not name a type
29 | ll query(ll S, ll E){
| ^~
horses.cpp: In member function ‘void node1::update(int, int)’:
horses.cpp:22:12: error: ‘e’ was not declared