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_33530293_32745.cpp:122:6: error: redefinition of 'template<class T> void read(T&)'
 void read(T &x) {
      ^
0_0_33530293_32745.cpp:10:6: note: 'template<class T> void read(T&)' previously declared here
 void read(T &x) {
      ^
0_0_33530293_32745.cpp:132:6: error: redefinition of 'template<class T> void write(T, char)'
 void write(T x, char c = ' ') {
      ^
0_0_33530293_32745.cpp:20:6: note: 'template<class T> void write(T, char)' previously declared here
 void write(T x, char c = ' ') {
      ^
0_0_33530293_32745.cpp:141:10: error: redefinition of 'const LL mo'
 const LL mo = 1e9+7;
          ^
0_0_33530293_32745.cpp:29:10: note: 'const LL mo' previously defined here
 const LL mo = 1e9+7;
          ^
0_0_33530293_32745.cpp:143:11: error: redefinition of 'const int N'
 const int N = 1e6+8;
           ^
0_0_33530293_32745.cpp:31:11: note: 'const int N' previously defined here
 const int N = 1e6+8;
           ^
0_0_33530293_32745.cpp:145:13: error: redefinition of 'bool visit [1000008]'
 bool visit[N];
             ^
0_0_33530293_32745.cpp:33:6: note: 'bool visit [1000008]' previously declared here
 bool visit[N];
      ^
0_0_33530293_32745.cpp:147:11: error: redefinition of 'int prim [1000008]'
 int prim[N];
           ^
0_0_33530293_32745.cpp:35:5: note: 'int prim [1000008]' previously declared here
 int prim[N];
     ^
0_0_33530293_32745.cpp:149:8: error: redefinition of 'int u [1000008]'
 int u[N];
        ^
0_0_33530293_32745.cpp:37:5: note: 'int u [1000008]' previously declared here
 int u[N];
     ^
0_0_33530293_32745.cpp:151:12: error: redefinition of 'LL sum_mu [1000008]'
 LL sum_mu[N];
            ^
0_0_33530293_32745.cpp:39:4: note: 'LL sum_mu [1000008]' previously declared here
 LL sum_mu[N];
    ^
0_0_33530293_32745.cpp: In function 'void pre_mu()':
0_0_33530293_32745.cpp:153:6: error: redefinition of 'void pre_mu()'
 void pre_mu(){
      ^
0_0_33530293_32745.cpp:41:6: note: 'void pre_mu()' previously defined here
 void pre_mu(){
      ^
0_0_33530293_32745.cpp: In function 'LL qpower(LL, LL)':
0_0_33530293_32745.cpp:176:4: error: redefinition of 'LL qpower(LL, LL)'
 LL qpower(LL a,LL b){
    ^
0_0_33530293_32745.cpp:64:4: note: 'LL qpower(LL, LL)' previously defined here
 LL qpower(LL a,LL b){
    ^
0_0_33530293_32745.cpp: In function 'LL inv(LL)':
0_0_33530293_32745.cpp:186:4: error: redefinition of 'LL inv(LL)'
 LL inv(LL x){
    ^
0_0_33530293_32745.cpp:74:4: note: 'LL inv(LL)' previously defined here
 LL inv(LL x){
    ^
0_0_33530293_32745.cpp: At global scope:
0_0_33530293_32745.cpp:190:4: error: redefinition of 'LL inv2'
 LL inv2;
    ^
0_0_33530293_32745.cpp:78:4: note: 'LL inv2' previously declared here
 LL inv2;
    ^
0_0_33530293_32745.cpp: In function 'LL calc(LL, LL)':
0_0_33530293_32745.cpp:192:4: error: redefinition of 'LL calc(LL, LL)'
 LL calc(LL l,LL r){
    ^
0_0_33530293_32745.cpp:80:4: note: 'LL calc(LL, LL)' previously defined here
 LL calc(LL l,LL r){
    ^
0_0_33530293_32745.cpp: In function 'int main()':
0_0_33530293_32745.cpp:204:5: error: redefinition of 'int main()'
 int main(void) {
     ^
0_0_33530293_32745.cpp:92:5: note: 'int main()' previously defined here
 int main(void) {
     ^


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 10:15:43, Gzip enabled