Problem luarulers
User bakchormee
Submission Time 2024-06-12 14:42:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

luarulers.cpp:1:2: error: stray ‘#’ in program
1 | =#include <bits/stdc++.h>
| ^
luarulers.cpp:1:1: error: expected unqualified-id before ‘=’ token
1 | =#include <bits/stdc++.h>
| ^
luarulers.cpp: In function ‘int main()’:
luarulers.cpp:7:11: error: ‘cin’ was not declared in this scope
7 | ll n, m; cin >> n >> m;
| ^~~
luarulers.cpp:18:2: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
18 | sort(index, index + m);
| ^~~~
| short
luarulers.cpp:27:3: error: ‘map’ was not declared in this scope
27 | map<ll, ll> m;
| ^~~
luarulers.cpp:3:12: error: expected primary-expression before ‘long’
3 | #define ll long long
| ^~~~
luarulers.cpp:27:7: note: in expansion of macro ‘ll’
27 | map<ll, ll> m;
| ^~
luarulers.cpp:29:9: error: request for member ‘find’ in ‘m’, w