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_35301529_19251.cpp:163:2: error: stray '#' in program
 }#include <bits/stdc++.h>
  ^
0_0_35301529_19251.cpp:163:3: error: 'include' does not name a type
 }#include <bits/stdc++.h>
   ^
0_0_35301529_19251.cpp: In function 'int Flandre_Scarlet::I()':
0_0_35301529_19251.cpp:179:9: error: redefinition of 'int Flandre_Scarlet::I()'
     int I() {char c=getchar(); int x=0; while(c<'0' or c>'9') c=getchar(); while(c>='0' and c<='9') x=(x<<1)+(x<<3)+(c^48),c=getchar(); return x;}
         ^
0_0_35301529_19251.cpp:17:9: note: 'int Flandre_Scarlet::I()' previously defined here
     int I() {char c=getchar(); int x=0; while(c<'0' or c>'9') c=getchar(); while(c>='0' and c<='9') x=(x<<1)+(x<<3)+(c^48),c=getchar(); return x;}
         ^
0_0_35301529_19251.cpp: At global scope:
0_0_35301529_19251.cpp:180:32: error: redefinition of 'template<class T> void Flandre_Scarlet::Rd(T&)'
     template <typename T> void Rd(T& arg){arg=I();}
                                ^
0_0_35301529_19251.cpp:18:32: note: 'template<class T> void Flandre_Scarlet::Rd(T&)' previously declared here
     template <typename T> void Rd(T& arg){arg=I();}
                                ^
0_0_35301529_19251.cpp:181:49: error: redefinition of 'template<class T, class ... Types> void Flandre_Scarlet::Rd(T&, Types& ...)'
     template <typename T,typename...Types> void Rd(T& arg,Types&...args){arg=I(); Rd(args...);}
                                                 ^
0_0_35301529_19251.cpp:19:49: note: 'template<class T, class ... Types> void Flandre_Scarlet::Rd(T&, Types& ...)' previously declared here
     template <typename T,typename...Types> void Rd(T& arg,Types&...args){arg=I(); Rd(args...);}
                                                 ^
0_0_35301529_19251.cpp: In function 'void Flandre_Scarlet::RA(int*, int)':
0_0_35301529_19251.cpp:182:10: error: redefinition of 'void Flandre_Scarlet::RA(int*, int)'
     void RA(int *p,int n) {F(i,1,n) *p=I(),++p;}
          ^
0_0_35301529_19251.cpp:20:10: note: 'void Flandre_Scarlet::RA(int*, int)' previously defined here
     void RA(int *p,int n) {F(i,1,n) *p=I(),++p;}
          ^
0_0_35301529_19251.cpp: At global scope:
0_0_35301529_19251.cpp:183:9: error: redefinition of 'int Flandre_Scarlet::n'
     int n,m,a[N];
         ^
0_0_35301529_19251.cpp:21:9: note: 'int Flandre_Scarlet::n' previously declared here
     int n,m,a[N];
         ^
0_0_35301529_19251.cpp:183:11: error: redefinition of 'int Flandre_Scarlet::m'
     int n,m,a[N];
           ^
0_0_35301529_19251.cpp:21:11: note: 'int Flandre_Scarlet::m' previously declared here
     int n,m,a[N];
           ^
0_0_35301529_19251.cpp:183:16: error: redefinition of 'int Flandre_Scarlet::a [1000006]'
     int n,m,a[N];
                ^
0_0_35301529_19251.cpp:21:13: note: 'int Flandre_Scarlet::a [1000006]' previously declared here
     int n,m,a[N];
             ^
0_0_35301529_19251.cpp: In function 'void Flandre_Scarlet::Input()':
0_0_35301529_19251.cpp:184:10: error: redefinition of 'void Flandre_Scarlet::Input()'
     void Input()
          ^
0_0_35301529_19251.cpp:22:10: note: 'void Flandre_Scarlet::Input()' previously defined here
     void Input()
          ^
0_0_35301529_19251.cpp: At global scope:
0_0_35301529_19251.cpp:191:11: error: redefinition of 'class Flandre_Scarlet::SegmentTree'
     class SegmentTree
           ^
0_0_35301529_19251.cpp:29:11: error: previous definition of 'class Flandre_Scarlet::SegmentTree'
     class SegmentTree
           ^
0_0_35301529_19251.cpp:273:7: error: invalid type in declaration before ';' token
     }T;
       ^
0_0_35301529_19251.cpp:273:7: error: conflicting declaration 'int Flandre_Scarlet::T'
0_0_35301529_19251.cpp:111:6: note: previous declaration as 'Flandre_Scarlet::SegmentTree Flandre_Scarlet::T'
     }T;
      ^
0_0_35301529_19251.cpp:274:15: error: redefinition of 'int Flandre_Scarlet::tmp [20]'
     int tmp[20];
               ^
0_0_35301529_19251.cpp:112:9: note: 'int Flandre_Scarlet::tmp [20]' previously declared here
     int tmp[20];
         ^
0_0_35301529_19251.cpp: In function 'void Flandre_Scarlet::qp(long long int)':
0_0_35301529_19251.cpp:275:10: error: redefinition of 'void Flandre_Scarlet::qp(long long int)'
     void qp(ll x)
          ^
0_0_35301529_19251.cpp:113:10: note: 'void Flandre_Scarlet::qp(long long int)' previously defined here
     void qp(ll x)
          ^
0_0_35301529_19251.cpp: In function 'void Flandre_Scarlet::Sakuya()':
0_0_35301529_19251.cpp:286:10: error: redefinition of 'void Flandre_Scarlet::Sakuya()'
     void Sakuya()
          ^
0_0_35301529_19251.cpp:124:10: note: 'void Flandre_Scarlet::Sakuya()' previously defined here
     void Sakuya()
          ^
0_0_35301529_19251.cpp: In function 'void Flandre_Scarlet::IsMyWife()':
0_0_35301529_19251.cpp:309:10: error: redefinition of 'void Flandre_Scarlet::IsMyWife()'
     void IsMyWife()
          ^
0_0_35301529_19251.cpp:147:10: note: 'void Flandre_Scarlet::IsMyWife()' previously defined here
     void IsMyWife()
          ^
0_0_35301529_19251.cpp: In function 'int main()':
0_0_35301529_19251.cpp:320:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_35301529_19251.cpp:158: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-09-23 08:23:03, Gzip enabled