0_0_23201323_21184.cpp: In function 'void add(int, int)':
0_0_23201323_21184.cpp:8:24: error: 'vecx' was not declared in this scope
void add(int x,int y){vecx.push_back(x);vecy.push_back(y);}
^
0_0_23201323_21184.cpp:8:42: error: 'vecy' was not declared in this scope
void add(int x,int y){vecx.push_back(x);vecy.push_back(y);}
^
0_0_23201323_21184.cpp: At global scope:
0_0_23201323_21184.cpp:7:23: error: 'LL' was not declared in this scope
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:9:1: note: in expansion of macro 'LL'
LL xx[8]={-1,0,1,1,0};
^
0_0_23201323_21184.cpp:7:25: error: template argument 1 is invalid
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:9:1: note: in expansion of macro 'LL'
LL xx[8]={-1,0,1,1,0};
^
0_0_23201323_21184.cpp:7:25: error: template argument 2 is invalid
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:9:1: note: in expansion of macro 'LL'
LL xx[8]={-1,0,1,1,0};
^
0_0_23201323_21184.cpp:9:4: error: 'xx' does not name a type
LL xx[8]={-1,0,1,1,0};
^
0_0_23201323_21184.cpp:7:23: error: 'LL' was not declared in this scope
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:10:1: note: in expansion of macro 'LL'
LL yy[8]={1,2,1,-1,-2};
^
0_0_23201323_21184.cpp:7:25: error: template argument 1 is invalid
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:10:1: note: in expansion of macro 'LL'
LL yy[8]={1,2,1,-1,-2};
^
0_0_23201323_21184.cpp:7:25: error: template argument 2 is invalid
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:10:1: note: in expansion of macro 'LL'
LL yy[8]={1,2,1,-1,-2};
^
0_0_23201323_21184.cpp:10:4: error: 'yy' does not name a type
LL yy[8]={1,2,1,-1,-2};
^
0_0_23201323_21184.cpp: In function 'void init()':
0_0_23201323_21184.cpp:7:23: error: 'LL' was not declared in this scope
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:14:5: note: in expansion of macro 'LL'
LL x,y;
^
0_0_23201323_21184.cpp:7:25: error: template argument 1 is invalid
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:14:5: note: in expansion of macro 'LL'
LL x,y;
^
0_0_23201323_21184.cpp:7:25: error: template argument 2 is invalid
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:14:5: note: in expansion of macro 'LL'
LL x,y;
^
0_0_23201323_21184.cpp:14:8: error: 'x' was not declared in this scope
LL x,y;
^
0_0_23201323_21184.cpp:14:10: error: 'y' was not declared in this scope
LL x,y;
^
0_0_23201323_21184.cpp:15:5: error: 'vecx' was not declared in this scope
vecx.clear();
^
0_0_23201323_21184.cpp:16:5: error: 'vecy' was not declared in this scope
vecy.clear();
^
0_0_23201323_21184.cpp:27:20: error: 'xx' was not declared in this scope
x+=xx[j];
^
0_0_23201323_21184.cpp:28:20: error: 'yy' was not declared in this scope
y+=yy[j];
^
0_0_23201323_21184.cpp: In function 'int main()':
0_0_23201323_21184.cpp:7:23: error: 'LL' was not declared in this scope
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:51:9: note: in expansion of macro 'LL'
LL tx=vecx[n]-vecx[m];
^
0_0_23201323_21184.cpp:7:25: error: template argument 1 is invalid
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:51:9: note: in expansion of macro 'LL'
LL tx=vecx[n]-vecx[m];
^
0_0_23201323_21184.cpp:7:25: error: template argument 2 is invalid
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:51:9: note: in expansion of macro 'LL'
LL tx=vecx[n]-vecx[m];
^
0_0_23201323_21184.cpp:51:12: error: 'tx' was not declared in this scope
LL tx=vecx[n]-vecx[m];
^
0_0_23201323_21184.cpp:51:15: error: 'vecx' was not declared in this scope
LL tx=vecx[n]-vecx[m];
^
0_0_23201323_21184.cpp:7:23: error: the value of 'LL' is not usable in a constant expression
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:52:9: note: in expansion of macro 'LL'
LL ty=vecy[n]-vecy[m];
^
0_0_23201323_21184.cpp:7:23: note: 'LL' was not declared 'constexpr'
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:51:9: note: in expansion of macro 'LL'
LL tx=vecx[n]-vecx[m];
^
0_0_23201323_21184.cpp:7:25: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Alloc> class std::vector'
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:52:9: note: in expansion of macro 'LL'
LL ty=vecy[n]-vecy[m];
^
0_0_23201323_21184.cpp:7:25: error: expected a type, got 'LL'
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:52:9: note: in expansion of macro 'LL'
LL ty=vecy[n]-vecy[m];
^
0_0_23201323_21184.cpp:7:25: error: template argument 2 is invalid
#define LL int vector<LL>vecx,vecy;
^
0_0_23201323_21184.cpp:52:9: note: in expansion of macro 'LL'
LL ty=vecy[n]-vecy[m];
^
0_0_23201323_21184.cpp:52:12: error: 'ty' was not declared in this scope
LL ty=vecy[n]-vecy[m];
^
0_0_23201323_21184.cpp:52:15: error: 'vecy' was not declared in this scope
LL ty=vecy[n]-vecy[m];
^
|