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_17677147_14785.cpp:86:11: error: redefinition of 'const int mod'
 const int mod = 1e9 + 7;
           ^
0_0_17677147_14785.cpp:4:11: note: 'const int mod' previously defined here
 const int mod = 1e9 + 7;
           ^
0_0_17677147_14785.cpp:88:11: error: redefinition of 'const int maxN'
 const int maxN = 1e5 + 10;
           ^
0_0_17677147_14785.cpp:6:11: note: 'const int maxN' previously defined here
 const int maxN = 1e5 + 10;
           ^
0_0_17677147_14785.cpp:89:11: error: redefinition of 'const int maxVal'
 const int maxVal = 1e9 + 1;
           ^
0_0_17677147_14785.cpp:7:11: note: 'const int maxVal' previously defined here
 const int maxVal = 1e9 + 1;
           ^
0_0_17677147_14785.cpp:91:5: error: redefinition of 'int n'
 int n, m, A, B;
     ^
0_0_17677147_14785.cpp:10:5: note: 'int n' previously declared here
 int n, m, A, B;
     ^
0_0_17677147_14785.cpp:91:8: error: redefinition of 'int m'
 int n, m, A, B;
        ^
0_0_17677147_14785.cpp:10:8: note: 'int m' previously declared here
 int n, m, A, B;
        ^
0_0_17677147_14785.cpp:91:11: error: redefinition of 'int A'
 int n, m, A, B;
           ^
0_0_17677147_14785.cpp:10:11: note: 'int A' previously declared here
 int n, m, A, B;
           ^
0_0_17677147_14785.cpp:91:14: error: redefinition of 'int B'
 int n, m, A, B;
              ^
0_0_17677147_14785.cpp:10:14: note: 'int B' previously declared here
 int n, m, A, B;
              ^
0_0_17677147_14785.cpp:92:11: error: redefinition of 'int a [100010]'
 int a[maxN], b[maxN];
           ^
0_0_17677147_14785.cpp:11:5: note: 'int a [100010]' previously declared here
 int a[maxN], b[maxN];
     ^
0_0_17677147_14785.cpp:92:20: error: redefinition of 'int b [100010]'
 int a[maxN], b[maxN];
                    ^
0_0_17677147_14785.cpp:11:14: note: 'int b [100010]' previously declared here
 int a[maxN], b[maxN];
              ^
0_0_17677147_14785.cpp:94:5: error: redefinition of 'int aa'
 int aa = A, bb = B, C = ~(1<<31), M = (1<<16)-1;
     ^
0_0_17677147_14785.cpp:13:5: note: 'int aa' previously declared here
 int aa, bb, C, M;
     ^
0_0_17677147_14785.cpp:94:13: error: redefinition of 'int bb'
 int aa = A, bb = B, C = ~(1<<31), M = (1<<16)-1;
             ^
0_0_17677147_14785.cpp:13:9: note: 'int bb' previously declared here
 int aa, bb, C, M;
         ^
0_0_17677147_14785.cpp:94:21: error: redefinition of 'int C'
 int aa = A, bb = B, C = ~(1<<31), M = (1<<16)-1;
                     ^
0_0_17677147_14785.cpp:13:13: note: 'int C' previously declared here
 int aa, bb, C, M;
             ^
0_0_17677147_14785.cpp:94:35: error: redefinition of 'int M'
 int aa = A, bb = B, C = ~(1<<31), M = (1<<16)-1;
                                   ^
0_0_17677147_14785.cpp:13:16: note: 'int M' previously declared here
 int aa, bb, C, M;
                ^
0_0_17677147_14785.cpp: In function 'int rnd(int)':
0_0_17677147_14785.cpp:95:5: error: redefinition of 'int rnd(int)'
 int rnd(int last) {
     ^
0_0_17677147_14785.cpp:14:5: note: 'int rnd(int)' previously defined here
 int rnd(int last) {
     ^
0_0_17677147_14785.cpp: In function 'int main()':
0_0_17677147_14785.cpp:189:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_17677147_14785.cpp:32: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-07-08 20:06:43, Gzip enabled