prog.cpp:1:1: error: ‘define’ does not name a type
define gc() (*_pinp?*_pinp++:(_inp[fread(_pinp=_inp, 1, 4096, stdin)]='\0', *_pinp++))
^~~~~~
prog.cpp: In function ‘int main()’:
prog.cpp:3:35: error: ‘gc’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:37:5: note: in expansion of macro ‘nextInt’
nextInt(N);
^~~~~~~
prog.cpp:3:82: error: ‘gc’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:37:5: note: in expansion of macro ‘nextInt’
nextInt(N);
^~~~~~~
prog.cpp:3:109: error: ‘_’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:37:5: note: in expansion of macro ‘nextInt’
nextInt(N);
^~~~~~~
prog.cpp:3:114: error: ‘gc’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:37:5: note: in expansion of macro ‘nextInt’
nextInt(N);
^~~~~~~
prog.cpp:3:35: error: ‘gc’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:38:5: note: in expansion of macro ‘nextInt’
nextInt(M);
^~~~~~~
prog.cpp:3:82: error: ‘gc’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:38:5: note: in expansion of macro ‘nextInt’
nextInt(M);
^~~~~~~
prog.cpp:3:109: error: ‘_’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:38:5: note: in expansion of macro ‘nextInt’
nextInt(M);
^~~~~~~
prog.cpp:3:114: error: ‘gc’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:38:5: note: in expansion of macro ‘nextInt’
nextInt(M);
^~~~~~~
prog.cpp:3:35: error: ‘gc’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:43:3: note: in expansion of macro ‘nextInt’
nextInt(u);
^~~~~~~
prog.cpp:3:82: error: ‘gc’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:43:3: note: in expansion of macro ‘nextInt’
nextInt(u);
^~~~~~~
prog.cpp:3:109: error: ‘_’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:43:3: note: in expansion of macro ‘nextInt’
nextInt(u);
^~~~~~~
prog.cpp:3:114: error: ‘gc’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:43:3: note: in expansion of macro ‘nextInt’
nextInt(u);
^~~~~~~
prog.cpp:3:35: error: ‘gc’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:44:3: note: in expansion of macro ‘nextInt’
nextInt(v);
^~~~~~~
prog.cpp:3:82: error: ‘gc’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:44:3: note: in expansion of macro ‘nextInt’
nextInt(v);
^~~~~~~
prog.cpp:3:109: error: ‘_’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:44:3: note: in expansion of macro ‘nextInt’
nextInt(v);
^~~~~~~
prog.cpp:3:114: error: ‘gc’ was not declared in this scope
#define nextInt(x) do{while((x=gc())<'-'); _ssign=x=='-'; if(_ssign) while((x=gc())<'0'); for(x-='0'; '0'<=(_=gc()); x=(x<<3)+(x<<1)+_-'0'); x=_ssign?-x:x;}while(0)
^
prog.cpp:44:3: note: in expansion of macro ‘nextInt’
nextInt(v);
^~~~~~~