0_0_33462268_13861.cpp:6:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_33462268_13861.cpp:20:7: note: in expansion of macro 'int'
const int mod=1e9+7;
^
0_0_33462268_13861.cpp:20:11: error: 'mod' does not name a type
const int mod=1e9+7;
^
0_0_33462268_13861.cpp:6:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_33462268_13861.cpp:21:1: note: in expansion of macro 'int'
int used[100005],a[100005],b[100005];
^
0_0_33462268_13861.cpp:21:5: error: 'used' does not name a type
int used[100005],a[100005],b[100005];
^
0_0_33462268_13861.cpp:6:18: error: wrong number of template arguments (1, should be 4)
#define int long long;
^
0_0_33462268_13861.cpp:22:10: note: in expansion of macro 'int'
std::map<int,int> lena,lenb;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_33462268_13861.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: error: provided for 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
class map
^
0_0_33462268_13861.cpp:22:13: error: expected unqualified-id before ',' token
std::map<int,int> lena,lenb;
^
0_0_33462268_13861.cpp:6:13: error: expected unqualified-id before 'long'
#define int long long;
^
0_0_33462268_13861.cpp:22:14: note: in expansion of macro 'int'
std::map<int,int> lena,lenb;
^
0_0_33462268_13861.cpp:22:17: error: expected unqualified-id before '>' token
std::map<int,int> lena,lenb;
^
0_0_33462268_13861.cpp:6:18: error: template argument 1 is invalid
#define int long long;
^
0_0_33462268_13861.cpp:23:13: note: in expansion of macro 'int'
std::vector<int> factor[100005];
^
0_0_33462268_13861.cpp:6:18: error: template argument 2 is invalid
#define int long long;
^
0_0_33462268_13861.cpp:23:13: note: in expansion of macro 'int'
std::vector<int> factor[100005];
^
0_0_33462268_13861.cpp:23:16: error: expected unqualified-id before '>' token
std::vector<int> factor[100005];
^
0_0_33462268_13861.cpp: In function 'void init()':
0_0_33462268_13861.cpp:6:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_33462268_13861.cpp:26:10: note: in expansion of macro 'int'
for (int i = 1; i <= 100000; i++) {
^
0_0_33462268_13861.cpp:26:14: error: 'i' was not declared in this scope
for (int i = 1; i <= 100000; i++) {
^
0_0_33462268_13861.cpp:26:32: error: expected ')' before ';' token
for (int i = 1; i <= 100000; i++) {
^
0_0_33462268_13861.cpp:26:34: error: 'i' was not declared in this scope
for (int i = 1; i <= 100000; i++) {
^
0_0_33462268_13861.cpp: At global scope:
0_0_33462268_13861.cpp:6:22: error: expected ')' before ';' token
#define int long long;
^
0_0_33462268_13861.cpp:32:36: note: in expansion of macro 'int'
inline long long q_pow(long long x,int t) {
^
0_0_33462268_13861.cpp:32:40: error: 't' does not name a type
inline long long q_pow(long long x,int t) {
^
0_0_33462268_13861.cpp:6:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_33462268_13861.cpp:41:8: note: in expansion of macro 'int'
inline int solve(int x,int y){
^
0_0_33462268_13861.cpp:6:22: error: expected ')' before ';' token
#define int long long;
^
0_0_33462268_13861.cpp:41:18: note: in expansion of macro 'int'
inline int solve(int x,int y){
^
0_0_33462268_13861.cpp:6:22: error: expected constructor, destructor, or type conversion before ';' token
#define int long long;
^
0_0_33462268_13861.cpp:41:18: note: in expansion of macro 'int'
inline int solve(int x,int y){
^
0_0_33462268_13861.cpp:41:22: error: 'x' does not name a type
inline int solve(int x,int y){
^
0_0_33462268_13861.cpp:41:28: error: 'y' does not name a type
inline int solve(int x,int y){
^
0_0_33462268_13861.cpp: In function 'void work()':
0_0_33462268_13861.cpp:6:18: error: declaration does not declare anything [-fpermissive]
#define int long long;
^
0_0_33462268_13861.cpp:52:9: note: in expansion of macro 'int'
for(int n,m,cnt=1;~scanf("%d%d",&n,&m);cnt++){
^
0_0_33462268_13861.cpp:52:13: error: 'n' was not declared in this scope
for(int n,m,cnt=1;~scanf("%d%d",&n,&m);cnt++){
^
0_0_33462268_13861.cpp:52:15: error: 'm' was not declared in this scope
for(int n,m,cnt=1;~scanf("%d%d",&n,&m);cnt++){
^
0_0_33462268_13861.cpp:52:17: error: 'cnt' was not declared in this scope
for(int n,m,cnt=1;~scanf("%d%d",&n,&m);cnt++){
^
0_0_33462268_13861.cpp:52:43: error: expected ')' before ';' token
for(int n,m,cnt=1;~scanf("%d%d",&n,&m);cnt++){
^
0_0_33462268_13861.cpp:52:44: error: 'cnt' was not declared in this scope
for(int n,m,cnt=1;~scanf("%d%d",&n,&m);cnt++){
^
|