0_0_31601617_23199.cpp: In function 'int main()':
0_0_31601617_23199.cpp:104:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_31601617_23199.cpp:109:2: note: in expansion of macro 'int'
int n;
^
0_0_31601617_23199.cpp:109:6: error: 'n' was not declared in this scope
int n;
^
0_0_31601617_23199.cpp:104:18: error: template argument 1 is invalid
#define int long long;
^
0_0_31601617_23199.cpp:111:10: note: in expansion of macro 'int'
vector<int> a(n + n);
^
0_0_31601617_23199.cpp:104:18: error: template argument 2 is invalid
#define int long long;
^
0_0_31601617_23199.cpp:111:10: note: in expansion of macro 'int'
vector<int> a(n + n);
^
0_0_31601617_23199.cpp:111:13: error: expected primary-expression before '>' token
vector<int> a(n + n);
^
0_0_31601617_23199.cpp:111:22: error: 'a' was not declared in this scope
vector<int> a(n + n);
^
0_0_31601617_23199.cpp:104:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_31601617_23199.cpp:112:8: note: in expansion of macro 'int'
for (int i = 0; i < n; i++) {
^
0_0_31601617_23199.cpp:112:12: error: 'i' was not declared in this scope
for (int i = 0; i < n; i++) {
^
0_0_31601617_23199.cpp:112:24: error: expected ')' before ';' token
for (int i = 0; i < n; i++) {
^
0_0_31601617_23199.cpp:112:26: error: 'i' was not declared in this scope
for (int i = 0; i < n; i++) {
^
0_0_31601617_23199.cpp:104:18: error: template argument 1 is invalid
#define int long long;
^
0_0_31601617_23199.cpp:116:10: note: in expansion of macro 'int'
vector<int> s(n + n + 1);
^
0_0_31601617_23199.cpp:104:18: error: template argument 2 is invalid
#define int long long;
^
0_0_31601617_23199.cpp:116:10: note: in expansion of macro 'int'
vector<int> s(n + n + 1);
^
0_0_31601617_23199.cpp:116:13: error: expected primary-expression before '>' token
vector<int> s(n + n + 1);
^
0_0_31601617_23199.cpp:116:26: error: 's' was not declared in this scope
vector<int> s(n + n + 1);
^
0_0_31601617_23199.cpp: In lambda function:
0_0_31601617_23199.cpp:104:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_31601617_23199.cpp:123:10: note: in expansion of macro 'int'
for (int i = 0; i < n; i++) {
^
0_0_31601617_23199.cpp:123:26: error: expected ')' before ';' token
for (int i = 0; i < n; i++) {
^
0_0_31601617_23199.cpp:104:18: error: template argument 1 is invalid
#define int long long;
^
0_0_31601617_23199.cpp:130:11: note: in expansion of macro 'int'
vector<int> t(2 * n);
^
0_0_31601617_23199.cpp:104:18: error: template argument 2 is invalid
#define int long long;
^
0_0_31601617_23199.cpp:130:11: note: in expansion of macro 'int'
vector<int> t(2 * n);
^
0_0_31601617_23199.cpp:130:14: error: expected primary-expression before '>' token
vector<int> t(2 * n);
^
0_0_31601617_23199.cpp:130:23: error: 't' was not declared in this scope
vector<int> t(2 * n);
^
0_0_31601617_23199.cpp:104:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_31601617_23199.cpp:131:9: note: in expansion of macro 'int'
for (int i = 0; i < 2 * n; i++) {
^
0_0_31601617_23199.cpp:131:29: error: expected ')' before ';' token
for (int i = 0; i < 2 * n; i++) {
^
0_0_31601617_23199.cpp:104:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_31601617_23199.cpp:135:4: note: in expansion of macro 'int'
int tn = unique(t.begin(), t.end()) - t.begin();
^
0_0_31601617_23199.cpp:135:8: error: 'tn' was not declared in this scope
int tn = unique(t.begin(), t.end()) - t.begin();
^
0_0_31601617_23199.cpp:104:22: error: expected ')' before ';' token
#define int long long;
^
0_0_31601617_23199.cpp:139:19: note: in expansion of macro 'int'
auto add = [&](int mod, int u, int c, long long s) {
^
0_0_31601617_23199.cpp: In lambda function:
0_0_31601617_23199.cpp:104:22: error: expected '{' before ';' token
#define int long long;
^
0_0_31601617_23199.cpp:139:19: note: in expansion of macro 'int'
auto add = [&](int mod, int u, int c, long long s) {
^
0_0_31601617_23199.cpp: In lambda function:
0_0_31601617_23199.cpp:139:23: error: 'mod' was not declared in this scope
auto add = [&](int mod, int u, int c, long long s) {
^
0_0_31601617_23199.cpp:104:13: error: expected primary-expression before 'long'
#define int long long;
^
0_0_31601617_23199.cpp:139:28: note: in expansion of macro 'int'
auto add = [&](int mod, int u, int c, long long s) {
^
0_0_31601617_23199.cpp:139:32: error: 'u' was not declared in this scope
auto add = [&](int mod, int u, int c, long long s) {
^
0_0_31601617_23199.cpp:104:13: error: expected primary-expression before 'long'
#define int long long;
^
0_0_31601617_23199.cpp:139:35: note: in expansion of macro 'int'
auto add = [&](int mod, int u, int c, long long s) {
^
0_0_31601617_23199.cpp:139:39: error: 'c' was not declared in this scope
auto add = [&](int mod, int u, int c, long long s) {
^
0_0_31601617_23199.cpp:139:42: error: expected primary-expression before 'long'
auto add = [&](int mod, int u, int c, long long s) {
^
0_0_31601617_23199.cpp:104:22: error: expected ')' before ';' token
#define int long long;
^
0_0_31601617_23199.cpp:142:23: note: in expansion of macro 'int'
auto get_sum = [&](int u) {
^
0_0_31601617_23199.cpp: In lambda function:
0_0_31601617_23199.cpp:104:22: error: expected '{' before ';' token
#define int long long;
^
0_0_31601617_23199.cpp:142:23: note: in expansion of macro 'int'
auto get_sum = [&](int u) {
^
0_0_31601617_23199.cpp: In lambda function:
0_0_31601617_23199.cpp:142:28: error: expected ';' before ')' token
auto get_sum = [&](int u) {
^
0_0_31601617_23199.cpp:196:1: error: expected '}' at end of input
}
^
0_0_31601617_23199.cpp: In function 'int main()':
0_0_31601617_23199.cpp:196:1: error: expected ',' or ';' at end of input
0_0_31601617_23199.cpp:196:1: error: expected '}' at end of input
0_0_31601617_23199.cpp:196:1: error: expected '}' at end of input
|