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_36451317_17291.cpp:116:15: error: redefinition of 'std::mt19937 mrand'
 mt19937 mrand(random_device{}());
               ^
0_0_36451317_17291.cpp:14:9: note: 'std::mt19937 mrand' previously declared here
 mt19937 mrand(random_device{}());
         ^
0_0_36451317_17291.cpp: In function 'int rnd(int)':
0_0_36451317_17291.cpp:117:5: error: redefinition of 'int rnd(int)'
 int rnd(int x) { return mrand() % x;}
     ^
0_0_36451317_17291.cpp:15:5: note: 'int rnd(int)' previously defined here
 int rnd(int x) { return mrand() % x;}
     ^
0_0_36451317_17291.cpp: At global scope:
0_0_36451317_17291.cpp:118:11: error: redefinition of 'const int maxn'
 const int maxn=1e6+7,inf=0x3f3f3f3f,mod=998244353;
           ^
0_0_36451317_17291.cpp:16:11: note: 'const int maxn' previously defined here
 const int maxn=1e6+7,inf=0x3f3f3f3f,mod=998244353;
           ^
0_0_36451317_17291.cpp:118:22: error: redefinition of 'const int inf'
 const int maxn=1e6+7,inf=0x3f3f3f3f,mod=998244353;
                      ^
0_0_36451317_17291.cpp:16:22: note: 'const int inf' previously defined here
 const int maxn=1e6+7,inf=0x3f3f3f3f,mod=998244353;
                      ^
0_0_36451317_17291.cpp:118:37: error: redefinition of 'const int mod'
 const int maxn=1e6+7,inf=0x3f3f3f3f,mod=998244353;
                                     ^
0_0_36451317_17291.cpp:16:37: note: 'const int mod' previously defined here
 const int maxn=1e6+7,inf=0x3f3f3f3f,mod=998244353;
                                     ^
0_0_36451317_17291.cpp:122:15: error: redefinition of 'const int FastIO::SIZE'
     const int SIZE = 1 << 16;
               ^
0_0_36451317_17291.cpp:20:15: note: 'const int FastIO::SIZE' previously defined here
     const int SIZE = 1 << 16;
               ^
0_0_36451317_17291.cpp:123:18: error: redefinition of 'char FastIO::buf [65536]'
     char buf[SIZE], obuf[SIZE], str[60];
                  ^
0_0_36451317_17291.cpp:21:10: note: 'char FastIO::buf [65536]' previously declared here
     char buf[SIZE], obuf[SIZE], str[60];
          ^
0_0_36451317_17291.cpp:123:30: error: redefinition of 'char FastIO::obuf [65536]'
     char buf[SIZE], obuf[SIZE], str[60];
                              ^
0_0_36451317_17291.cpp:21:21: note: 'char FastIO::obuf [65536]' previously declared here
     char buf[SIZE], obuf[SIZE], str[60];
                     ^
0_0_36451317_17291.cpp:123:39: error: redefinition of 'char FastIO::str [60]'
     char buf[SIZE], obuf[SIZE], str[60];
                                       ^
0_0_36451317_17291.cpp:21:33: note: 'char FastIO::str [60]' previously declared here
     char buf[SIZE], obuf[SIZE], str[60];
                                 ^
0_0_36451317_17291.cpp:124:9: error: redefinition of 'int FastIO::bi'
     int bi = SIZE, bn = SIZE, opt;
         ^
0_0_36451317_17291.cpp:22:9: note: 'int FastIO::bi' previously defined here
     int bi = SIZE, bn = SIZE, opt;
         ^
0_0_36451317_17291.cpp:124:20: error: redefinition of 'int FastIO::bn'
     int bi = SIZE, bn = SIZE, opt;
                    ^
0_0_36451317_17291.cpp:22:20: note: 'int FastIO::bn' previously defined here
     int bi = SIZE, bn = SIZE, opt;
                    ^
0_0_36451317_17291.cpp:124:31: error: redefinition of 'int FastIO::opt'
     int bi = SIZE, bn = SIZE, opt;
                               ^
0_0_36451317_17291.cpp:22:31: note: 'int FastIO::opt' previously declared here
     int bi = SIZE, bn = SIZE, opt;
                               ^
0_0_36451317_17291.cpp: In function 'int FastIO::read(char*)':
0_0_36451317_17291.cpp:125:9: error: redefinition of 'int FastIO::read(char*)'
     int read(char *s) {
         ^
0_0_36451317_17291.cpp:23:9: note: 'int FastIO::read(char*)' previously defined here
     int read(char *s) {
         ^
0_0_36451317_17291.cpp: At global scope:
0_0_36451317_17291.cpp:143:10: error: redefinition of 'template<class T> bool FastIO::read(T&)'
     bool read(T& x) {
          ^
0_0_36451317_17291.cpp:41:10: note: 'template<class T> bool FastIO::read(T&)' previously declared here
     bool read(T& x) {
          ^
0_0_36451317_17291.cpp:153:12: error: redefinition of 'll cnt [1000007]'
 ll cnt[maxn],f[maxn],g[maxn];
            ^
0_0_36451317_17291.cpp:51:4: note: 'll cnt [1000007]' previously declared here
 ll cnt[maxn],f[maxn],g[maxn];
    ^
0_0_36451317_17291.cpp:153:20: error: redefinition of 'll f [1000007]'
 ll cnt[maxn],f[maxn],g[maxn];
                    ^
0_0_36451317_17291.cpp:51:14: note: 'll f [1000007]' previously declared here
 ll cnt[maxn],f[maxn],g[maxn];
              ^
0_0_36451317_17291.cpp:153:28: error: redefinition of 'll g [1000007]'
 ll cnt[maxn],f[maxn],g[maxn];
                            ^
0_0_36451317_17291.cpp:51:22: note: 'll g [1000007]' previously declared here
 ll cnt[maxn],f[maxn],g[maxn];
                      ^
0_0_36451317_17291.cpp: In function 'void fwt_or(ll*, int, int)':
0_0_36451317_17291.cpp:155:6: error: redefinition of 'void fwt_or(ll*, int, int)'
 void fwt_or(ll *a,int N,int opt)
      ^
0_0_36451317_17291.cpp:53:6: note: 'void fwt_or(ll*, int, int)' previously defined here
 void fwt_or(ll *a,int N,int opt)
      ^
0_0_36451317_17291.cpp: At global scope:
0_0_36451317_17291.cpp:164:12: error: redefinition of 'll Inv [1000007]'
 ll Inv[maxn],p2[maxn];
            ^
0_0_36451317_17291.cpp:62:4: note: 'll Inv [1000007]' previously declared here
 ll Inv[maxn],p2[maxn];
    ^
0_0_36451317_17291.cpp:164:21: error: redefinition of 'll p2 [1000007]'
 ll Inv[maxn],p2[maxn];
                     ^
0_0_36451317_17291.cpp:62:14: note: 'll p2 [1000007]' previously declared here
 ll Inv[maxn],p2[maxn];
              ^
0_0_36451317_17291.cpp: In function 'll quick(ll, ll)':
0_0_36451317_17291.cpp:165:4: error: redefinition of 'll quick(ll, ll)'
 ll quick(ll x,ll n)
    ^
0_0_36451317_17291.cpp:63:4: note: 'll quick(ll, ll)' previously defined here
 ll quick(ll x,ll n)
    ^
0_0_36451317_17291.cpp: In function 'int main()':
0_0_36451317_17291.cpp:176:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_36451317_17291.cpp:74:5: note: 'int main()' previously defined here
 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-23 00:15:57, Gzip enabled