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_38609444_19271.cpp:127:11: error: redefinition of 'const long long int MOD'
 const int MOD=998244353,g=3,gi=332748118,N=1e5+8;
           ^~~
0_0_38609444_19271.cpp:4:11: note: 'const long long int MOD' previously defined here
 const int MOD=998244353,g=3,gi=332748118,N=1e5+8;
           ^~~
0_0_38609444_19271.cpp:127:25: error: redefinition of 'const long long int g'
 const int MOD=998244353,g=3,gi=332748118,N=1e5+8;
                         ^
0_0_38609444_19271.cpp:4:25: note: 'const long long int g' previously defined here
 const int MOD=998244353,g=3,gi=332748118,N=1e5+8;
                         ^
0_0_38609444_19271.cpp:127:29: error: redefinition of 'const long long int gi'
 const int MOD=998244353,g=3,gi=332748118,N=1e5+8;
                             ^~
0_0_38609444_19271.cpp:4:29: note: 'const long long int gi' previously defined here
 const int MOD=998244353,g=3,gi=332748118,N=1e5+8;
                             ^~
0_0_38609444_19271.cpp:127:42: error: redefinition of 'const long long int N'
 const int MOD=998244353,g=3,gi=332748118,N=1e5+8;
                                          ^
0_0_38609444_19271.cpp:4:42: note: 'const long long int N' previously defined here
 const int MOD=998244353,g=3,gi=332748118,N=1e5+8;
                                          ^
0_0_38609444_19271.cpp:128:13: error: redefinition of 'long long int fact [100016]'
 int fact[N+8], infact[N+8];
             ^
0_0_38609444_19271.cpp:5:5: note: 'long long int fact [100016]' previously declared here
 int fact[N+8], infact[N+8];
     ^~~~
0_0_38609444_19271.cpp:128:26: error: redefinition of 'long long int infact [100016]'
 int fact[N+8], infact[N+8];
                          ^
0_0_38609444_19271.cpp:5:16: note: 'long long int infact [100016]' previously declared here
 int fact[N+8], infact[N+8];
                ^~~~~~
0_0_38609444_19271.cpp:129:5: error: redefinition of 'long long int C(long long int, long long int)'
 int C(int n, int m)
     ^
0_0_38609444_19271.cpp:6:5: note: 'long long int C(long long int, long long int)' previously defined here
 int C(int n, int m)
     ^
0_0_38609444_19271.cpp:134:5: error: redefinition of 'long long int qpow(long long int, long long int)'
 int qpow(int a,int b) {
     ^~~~
0_0_38609444_19271.cpp:11:5: note: 'long long int qpow(long long int, long long int)' previously defined here
 int qpow(int a,int b) {
     ^~~~
0_0_38609444_19271.cpp:142:15: error: redefinition of 'std::vector<long long int> v [100008]'
 vector<int>v[N];
               ^
0_0_38609444_19271.cpp:19:12: note: 'std::vector<long long int> v [100008]' previously declared here
 vector<int>v[N];
            ^
0_0_38609444_19271.cpp:143:5: error: redefinition of 'long long int invv(long long int)'
 int invv(int x)
     ^~~~
0_0_38609444_19271.cpp:20:5: note: 'long long int invv(long long int)' previously defined here
 int invv(int x)
     ^~~~
0_0_38609444_19271.cpp:148:6: error: redefinition of 'void build()'
 void build()
      ^~~~~
0_0_38609444_19271.cpp:25:6: note: 'void build()' previously defined here
 void build()
      ^~~~~
0_0_38609444_19271.cpp:158:6: error: redefinition of 'void NTT(std::vector<long long int>&, std::vector<long long int>&, long long int, long long int)'
 void NTT(vector<int>&a,vector<int>&c,int n,int inv){
      ^~~
0_0_38609444_19271.cpp:35:6: note: 'void NTT(std::vector<long long int>&, std::vector<long long int>&, long long int, long long int)' previously defined here
 void NTT(vector<int>&a,vector<int>&c,int n,int inv){
      ^~~
0_0_38609444_19271.cpp:174:8: error: redefinition of 'struct cmp'
 struct cmp{
        ^~~
0_0_38609444_19271.cpp:51:8: note: previous definition of 'struct cmp'
 struct cmp{
        ^~~
0_0_38609444_19271.cpp:179:36: error: redefinition of 'std::priority_queue<long long int, std::vector<long long int>, cmp> q'
 priority_queue<int,vector<int>,cmp>q;
                                    ^
0_0_38609444_19271.cpp:56:36: note: 'std::priority_queue<long long int, std::vector<long long int>, cmp> q' previously declared here
 priority_queue<int,vector<int>,cmp>q;
                                    ^
0_0_38609444_19271.cpp:180:6: error: redefinition of 'void solve(long long int)'
 void solve(int testcase)
      ^~~~~
0_0_38609444_19271.cpp:57:6: note: 'void solve(long long int)' previously defined here
 void solve(int testcase)
      ^~~~~
0_0_38609444_19271.cpp:228:8: error: redefinition of 'int main()'
 signed main()
        ^~~~
0_0_38609444_19271.cpp:105:8: note: 'int main()' previously defined here
 signed 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-06-18 15:02:57, Gzip enabled