answer.code:13:10: error: ‘vector’ does not name a type
13 | using vi=vector<int>;
| ^~~~~~
answer.code:21:1: error: ‘vi’ does not name a type; did you mean ‘void’?
21 | vi mul(vi a,vi b)
| ^~
| void
answer.code:28:1: error: ‘vi’ does not name a type; did you mean ‘void’?
28 | vi getvec(int cn,int x)
| ^~
| void
answer.code:35:6: error: ‘vi’ was not declared in this scope; did you mean ‘svi’?
35 | pair<vi,vi> decomp(int n,int a)
| ^~
| svi
answer.code:35:9: error: ‘vi’ was not declared in this scope; did you mean ‘svi’?
35 | pair<vi,vi> decomp(int n,int a)
| ^~
| svi
answer.code:35:11: error: template argument 1 is invalid
35 | pair<vi,vi> decomp(int n,int a)
| ^
answer.code:35:11: error: template argument 2 is invalid
answer.code: In function ‘int decomp(long long int, long long int)’:
answer.code:38:17: error: ‘getvec’ was not declared in this scope; did you mean ‘getwc’?
38 | return {getvec(a,1),getvec(n/a,a)};
| ^~~~~~
| getwc
answer.code:38:42: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in return
38 | return {getvec(a,1),getvec(n/a,a)};
| ^
answer.code: In function ‘void solve()’:
answer.code:46:9: error: ‘vi’ was not declared in this scope; did you mean ‘svi’?
46 | vi a1,a2;
| ^~
| svi
answer.code:55:25: error: ‘a1’ was not declared in this scope; did you mean ‘r1’?
55 | a1=mul(r1.x,r1.x);
| ^~
| r1
answer.code:7:11: error: request for member ‘first’ in ‘r1’, which is of non-class type ‘int’
7 | #define x first
| ^~~~~
answer.code:55:35: note: in expansion of macro ‘x’
55 | a1=mul(r1.x,r1.x);
| ^
answer.code:7:11: error: request for member ‘first’ in ‘r1’, which is of non-class type ‘int’
7 | #define x first
| ^~~~~
answer.code:55:40: note: in expansion of macro ‘x’
55 | a1=mul(r1.x,r1.x);
| ^
answer.code:55:28: error: ‘mul’ was not declared in this scope; did you mean ‘fmul’?
55 | a1=mul(r1.x,r1.x);
| ^~~
| fmul
answer.code:56:25: error: ‘a2’ was not declared in this scope
56 | a2=mul(r1.y,r1.y);
| ^~
answer.code:8:11: error: request for member ‘second’ in ‘r1’, which is of non-class type ‘int’
8 | #define y second
| ^~~~~~
answer.code:56:35: note: in expansion of macro ‘y’
56 | a2=mul(r1.y,r1.y);
| ^
answer.code:8:11: error: request for member ‘second’ in ‘r1’, which is of non-class type ‘int’
8 | #define y second
| ^~~~~~
answer.code:56:40: note: in expansion of macro ‘y’
56 | a2=mul(r1.y,r1.y);
| ^
answer.code:72:25: error: ‘a1’ was not declared in this scope; did you mean ‘r1’?
72 | a1=mul(r1.x,r2.x);
| ^~
| r1
answer.code:7:11: error: request for member ‘first’ in ‘r1’, which is of non-class type ‘int’
7 | #define x first
| ^~~~~
answer.code:72:35: note: in expansion of macro ‘x’
72 | a1=mul(r1.x,r2.x);
| ^
answer.code:7:11: error: request for member ‘first’ in ‘r2’, which is of non-class type ‘int’
7 | #define x first
| ^~~~~
answer.code:72:40: note: in expansion of macro ‘x’
72 | a1=mul(r1.x,r2.x);
| ^
answer.code:72:28: error: ‘mul’ was not declared in this scope; did you mean ‘fmul’?
72 | a1=mul(r1.x,r2.x);
| ^~~
| fmul
answer.code:73:25: error: ‘a2’ was not declared in this scope; did you mean ‘r2’?
73 | a2=mul(r1.y,r2.y);
| ^~
| r2
answer.code:8:11: error: request for member ‘second’ in ‘r1’, which is of non-class type ‘int’
8 | #define y second
| ^~~~~~
answer.code:73:35: note: in expansion of macro ‘y’
73 | a2=mul(r1.y,r2.y);
| ^
answer.code:8:11: error: request for member ‘second’ in ‘r2’, which is of non-class type ‘int’
8 | #define y second
| ^~~~~~
answer.code:73:40: note: in expansion of macro ‘y’
73 | a2=mul(r1.y,r2.y);
| ...