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_30472317_14307.cpp: In function 'void dfs3(int, int)':
0_0_30472317_14307.cpp:6:22: error: wrong number of template arguments (1, should be 4)
 #define __int64 long long;
                      ^
0_0_30472317_14307.cpp:113:13: note: in expansion of macro '__int64'
         map<__int64,pii>mp;
             ^
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_30472317_14307.cpp:1:
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_30472317_14307.cpp:113:20: error: expected primary-expression before ',' token
         map<__int64,pii>mp;
                    ^
0_0_30472317_14307.cpp:113:24: error: expected primary-expression before '>' token
         map<__int64,pii>mp;
                        ^
0_0_30472317_14307.cpp:113:25: error: 'mp' was not declared in this scope
         map<__int64,pii>mp;
                         ^
0_0_30472317_14307.cpp:6:22: error: declaration does not declare anything [-fpermissive]
 #define __int64 long long;
                      ^
0_0_30472317_14307.cpp:117:13: note: in expansion of macro '__int64'
             __int64 key=get64(myehsh[0][j],myehsh[1][j]);
             ^
0_0_30472317_14307.cpp:117:21: error: 'key' was not declared in this scope
             __int64 key=get64(myehsh[0][j],myehsh[1][j]);
                     ^
0_0_30472317_14307.cpp:123:21: error: unable to deduce 'auto&&' from 'mp'
         for(auto it:mp){
                     ^
0_0_30472317_14307.cpp: In function 'void dfs4(int, int)':
0_0_30472317_14307.cpp:6:22: error: wrong number of template arguments (1, should be 4)
 #define __int64 long long;
                      ^
0_0_30472317_14307.cpp:130:9: note: in expansion of macro '__int64'
     map<__int64,pii>mp;
         ^
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_30472317_14307.cpp:1:
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_30472317_14307.cpp:130:16: error: expected primary-expression before ',' token
     map<__int64,pii>mp;
                ^
0_0_30472317_14307.cpp:130:20: error: expected primary-expression before '>' token
     map<__int64,pii>mp;
                    ^
0_0_30472317_14307.cpp:130:21: error: 'mp' was not declared in this scope
     map<__int64,pii>mp;
                     ^
0_0_30472317_14307.cpp:6:22: error: declaration does not declare anything [-fpermissive]
 #define __int64 long long;
                      ^
0_0_30472317_14307.cpp:133:9: note: in expansion of macro '__int64'
         __int64 key=get64(myehsh[0][i],myehsh[1][i]);
         ^
0_0_30472317_14307.cpp:133:17: error: 'key' was not declared in this scope
         __int64 key=get64(myehsh[0][i],myehsh[1][i]);
                 ^
0_0_30472317_14307.cpp:140:17: error: unable to deduce 'auto&&' from 'mp'
     for(auto it:mp){
                 ^
0_0_30472317_14307.cpp:6:22: error: declaration does not declare anything [-fpermissive]
 #define __int64 long long;
                      ^
0_0_30472317_14307.cpp:147:9: note: in expansion of macro '__int64'
         __int64 key=get64(myehsh[0][i],myehsh[1][i]);
         ^
0_0_30472317_14307.cpp:147:17: error: 'key' was not declared in this scope
         __int64 key=get64(myehsh[0][i],myehsh[1][i]);
                 ^
0_0_30472317_14307.cpp:149:45: error: 'x' was not declared in this scope
         eans[i^1]=1ll*ans[u]*a%mod*qpow(1ll*x*son%mod,mod-2)%mod;
                                             ^
0_0_30472317_14307.cpp: In function 'int main()':
0_0_30472317_14307.cpp:6:22: error: wrong number of template arguments (1, should be 4)
 #define __int64 long long;
                      ^
0_0_30472317_14307.cpp:167:13: note: in expansion of macro '__int64'
         map<__int64,int>mp;
             ^
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_30472317_14307.cpp:1:
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_30472317_14307.cpp:167:20: error: expected primary-expression before ',' token
         map<__int64,int>mp;
                    ^
0_0_30472317_14307.cpp:167:21: error: expected primary-expression before 'int'
         map<__int64,int>mp;
                     ^
0_0_30472317_14307.cpp:6:22: error: declaration does not declare anything [-fpermissive]
 #define __int64 long long;
                      ^
0_0_30472317_14307.cpp:170:13: note: in expansion of macro '__int64'
             __int64 key=get64(myhsh[0][i],myhsh[1][i]);
             ^
0_0_30472317_14307.cpp:170:21: error: 'key' was not declared in this scope
             __int64 key=get64(myhsh[0][i],myhsh[1][i]);
                     ^
0_0_30472317_14307.cpp:171:16: error: 'mp' was not declared in this scope
             if(mp[key]==0) res+=ans[i];// ans<1e14
                ^
0_0_30472317_14307.cpp:172:13: error: 'mp' was not declared in this scope
             mp[key]=1;
             ^


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-06-29 17:52:24, Gzip enabled