F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_33462264_17729.cpp:6:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_33462264_17729.cpp:20:7: note: in expansion of macro 'int'
 const int mod=1e9+7;
       ^
0_0_33462264_17729.cpp:20:11: error: 'mod' does not name a type
 const int mod=1e9+7;
           ^
0_0_33462264_17729.cpp:6:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_33462264_17729.cpp:21:1: note: in expansion of macro 'int'
 int used[100005],a[100005],b[100005];
 ^
0_0_33462264_17729.cpp:21:5: error: 'used' does not name a type
 int used[100005],a[100005],b[100005];
     ^
0_0_33462264_17729.cpp:6:18: error: wrong number of template arguments (1, should be 4)
 #define int long long;
                  ^
0_0_33462264_17729.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_33462264_17729.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_33462264_17729.cpp:22:13: error: expected unqualified-id before ',' token
 std::map<int,int> lena,lenb;
             ^
0_0_33462264_17729.cpp:6:13: error: expected unqualified-id before 'long'
 #define int long long;
             ^
0_0_33462264_17729.cpp:22:14: note: in expansion of macro 'int'
 std::map<int,int> lena,lenb;
              ^
0_0_33462264_17729.cpp:22:17: error: expected unqualified-id before '>' token
 std::map<int,int> lena,lenb;
                 ^
0_0_33462264_17729.cpp:6:18: error: template argument 1 is invalid
 #define int long long;
                  ^
0_0_33462264_17729.cpp:23:13: note: in expansion of macro 'int'
 std::vector<int> factor[100005];
             ^
0_0_33462264_17729.cpp:6:18: error: template argument 2 is invalid
 #define int long long;
                  ^
0_0_33462264_17729.cpp:23:13: note: in expansion of macro 'int'
 std::vector<int> factor[100005];
             ^
0_0_33462264_17729.cpp:23:16: error: expected unqualified-id before '>' token
 std::vector<int> factor[100005];
                ^
0_0_33462264_17729.cpp: In function 'void init()':
0_0_33462264_17729.cpp:6:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_33462264_17729.cpp:26:10: note: in expansion of macro 'int'
     for (int i = 1; i <= 100000; i++) {
          ^
0_0_33462264_17729.cpp:26:14: error: 'i' was not declared in this scope
     for (int i = 1; i <= 100000; i++) {
              ^
0_0_33462264_17729.cpp:26:32: error: expected ')' before ';' token
     for (int i = 1; i <= 100000; i++) {
                                ^
0_0_33462264_17729.cpp:26:34: error: 'i' was not declared in this scope
     for (int i = 1; i <= 100000; i++) {
                                  ^
0_0_33462264_17729.cpp: At global scope:
0_0_33462264_17729.cpp:6:22: error: expected ')' before ';' token
 #define int long long;
                      ^
0_0_33462264_17729.cpp:32:36: note: in expansion of macro 'int'
 inline long long q_pow(long long x,int t) {
                                    ^
0_0_33462264_17729.cpp:32:40: error: 't' does not name a type
 inline long long q_pow(long long x,int t) {
                                        ^
0_0_33462264_17729.cpp:6:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_33462264_17729.cpp:41:8: note: in expansion of macro 'int'
 inline int solve(int x,int y){
        ^
0_0_33462264_17729.cpp:6:22: error: expected ')' before ';' token
 #define int long long;
                      ^
0_0_33462264_17729.cpp:41:18: note: in expansion of macro 'int'
 inline int solve(int x,int y){
                  ^
0_0_33462264_17729.cpp:6:22: error: expected constructor, destructor, or type conversion before ';' token
 #define int long long;
                      ^
0_0_33462264_17729.cpp:41:18: note: in expansion of macro 'int'
 inline int solve(int x,int y){
                  ^
0_0_33462264_17729.cpp:41:22: error: 'x' does not name a type
 inline int solve(int x,int y){
                      ^
0_0_33462264_17729.cpp:41:28: error: 'y' does not name a type
 inline int solve(int x,int y){
                            ^
0_0_33462264_17729.cpp: In function 'void work()':
0_0_33462264_17729.cpp:6:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_33462264_17729.cpp:52:9: note: in expansion of macro 'int'
     for(int n,m,cnt=1;~scanf("%d%d",&n,&m);cnt++){
         ^
0_0_33462264_17729.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_33462264_17729.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_33462264_17729.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_33462264_17729.cpp:52:43: error: expected ')' before ';' token
     for(int n,m,cnt=1;~scanf("%d%d",&n,&m);cnt++){
                                           ^
0_0_33462264_17729.cpp:52:44: error: 'cnt' was not declared in this scope
     for(int n,m,cnt=1;~scanf("%d%d",&n,&m);cnt++){
                                            ^
0_0_33462264_17729.cpp: At global scope:
0_0_33462264_17729.cpp:6:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_33462264_17729.cpp:87:1: note: in expansion of macro 'int'
 int main() {
 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 17:20:52, Gzip enabled