0_0_38715039_21763.cpp:10:2: error: invalid preprocessing directive #inlcude; did you mean #include?
10 | #inlcude<bits/stdc++.h>
| ^~~~~~~
| include
0_0_38715039_21763.cpp:15:5: error: 'pair' was not declared in this scope
15 | map<pair<ll, ll>, vector<ll> >mpb;//a>b,pair{a%b,b}->a%b+bk
| ^~~~
0_0_38715039_21763.cpp:1:1: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
+++ |+#include <utility>
1 | //#define _CRT_SECURE_NO_WARNINGS
0_0_38715039_21763.cpp:15:5: error: 'pair' was not declared in this scope
15 | map<pair<ll, ll>, vector<ll> >mpb;//a>b,pair{a%b,b}->a%b+bk
| ^~~~
0_0_38715039_21763.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:15:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:15:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:15:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:15:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:15:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:15:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:15:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:15:1: error: 'map' does not name a type
15 | map<pair<ll, ll>, vector<ll> >mpb;//a>b,pair{a%b,b}->a%b+bk
| ^~~
0_0_38715039_21763.cpp:16:5: error: 'pair' was not declared in this scope
16 | map<pair<ll, ll>, vector<ll> >mpa;//a<b,pair{a,b%a}->b%a+ak
| ^~~~
0_0_38715039_21763.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715039_21763.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715039_21763.cpp:16:1: error: 'map' does not name a type
16 | map<pair<ll, ll>, vector<ll> >mpa;//a<b,pair{a,b%a}->b%a+ak
| ^~~
0_0_38715039_21763.cpp:17:1: error: 'map' does not name a type
17 | map<ll, int >mpc;//mpc[i]:a=b=iµÄÊýÁ¿
| ^~~
0_0_38715039_21763.cpp: In function 'int main()':
0_0_38715039_21763.cpp:21:9: error: 'scanf' was not declared in this scope
21 | scanf("%d", &T);
| ^~~~~
0_0_38715039_21763.cpp:32:33: error: 'mpc' was not declared in this scope
32 | mpc[x]++;
| ^~~
0_0_38715039_21763.cpp:42:49: error: 'mpb' was not declared in this scope
42 | mpb[{x, y}].push_back(z);
| ^~~
0_0_38715039_21763.cpp:48:49: error: 'mpa' was not declared in this scope
48 | mpa[{x, y}].push_back(z);
| ^~~
0_0_38715039_21763.cpp:53:31: error: 'mpa' was not declared in this scope
53 | for (auto v = mpa.begin(); v != mpa.end(); v++)
| ^~~
0_0_38715039_21763.cpp:55:25: error: 'sort' was not declared in this scope; did you mean 'short'?
55 | sort(v->second.begin(), v->second.end());
| ^~~~
| short
0_0_38715039_21763.cpp:57:31: error: 'mpb' was not declared in this scope
57 | for (auto v = mpb.begin(); v != mpb.end(); v++)
| ^~~
0_0_38715039_21763.cpp:59:25: error: 'sort' was not declared in this scope; did you mean 'short'?
59 | sort(v->second.begin(), v->second.end());
| ^~~~
| short
0_0_38715039_21763.cpp:68:42: error: 'mpb' was not declared in this scope
68 | auto h = mpb.find({ x % y,y });
| ^~~
0_0_38715039_21763.cpp:71:41: error: 'vector' was not declared in this scope
71 | vector<ll>q;
| ^~~~~~
0_0_38715039_21763.cpp:1:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
+++ |+#include <vector>
1 | //#define _CRT_SECURE_NO_WARNINGS
0_0_38715039_21763.cpp:12:12: error: expected primary-expression before 'long'
12 | #define ll long long
| ^~~~
0_0_38715039_21763.cpp:71:48: note: in expansion of macro 'll'
71 | vector<ll>q;
| ^~
0_0_38715039_21763.cpp:73:49: error: request for member 'end' in 'q', which is of non-class type 'int'
73 | ans = q.end() - lower_bound(q.begin(), q.end(), x);
| ^~~
0_0_38715039_21763.cpp:73:71: error: request for member 'begin' in 'q', which is of non-class type 'int'
73 | ans = q.end() - lower_bound(q.begin(), q.end(), x);
| ^~~~~
0_0_38715039_21763.cpp:73:82: error: request for member 'end' in 'q', which is of non-class type 'int'
73 | ans = q.end() - lower_bound(q.begin(), q.end(), x);
| ^~~
0_0_38715039_21763.cpp:73:57: error: 'lower_bound' was not declared in this scope
73 | ans = q.end() - lower_bound(q.begin(), q.end(), x);
| ^~~~~~~~~~~
0_0_38715039_21763.cpp:78:43: error: 'mpa' was not declared in this scope
78 | auto h1 = mpa.find({ x,0 });
| ^~~
0_0_38715039_21763.cpp:81:41: error: 'vector' was not declared in this scope
81 | vector<ll>q;
| ^~~~~~
0_0_38715039_21763.cpp:81:41: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
0_0_38715039_21763.cpp:12:12: error: expected primary-expression before 'long'
12 | #define ll long long
| ^~~~
0_0_38715039_21763.cpp:81:48: note: in expansion of macro 'll'
81 | vector<ll>q;
| ^~
0_0_38715039_21763.cpp:83:50: error: request for member 'end' in 'q', which is of non-class type 'int'
83 | ans += q.end() - lower_bound(q.begin(), q.end(), x);
| ^~~
0_0_38715039_21763.cpp:83:72: error: request for member 'begin' in 'q', which is of non-class type 'int'
83 | ans += q.end() - lower_bound(q.begin(), q.end(), x);
| ^~~~~
0_0_38715039_21763.cpp:83:83: error: request for member 'end' in 'q', which is of non-class type 'int'
83 | ans += q.end() - lower_bound(q.begin(), q.end(), x);
|
|