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_34282480_25034.cpp: In function 'char nc()':
0_0_34282480_25034.cpp:71:13: error: redefinition of 'char nc()'
 inline char nc(){
             ^
0_0_34282480_25034.cpp:14:13: note: 'char nc()' previously defined here
 inline char nc(){
             ^
0_0_34282480_25034.cpp: At global scope:
0_0_34282480_25034.cpp:76:13: error: redefinition of 'template<class T> void read(T&)'
 inline void read(T &x){
             ^
0_0_34282480_25034.cpp:19:13: note: 'template<class T> void read(T&)' previously declared here
 inline void read(T &x){
             ^
0_0_34282480_25034.cpp:81:25: error: redefinition of 'template<class T> void write(T)'
 template <class T> void write(T x){if (x<10) {putchar('0'+x); return;} write(x/10); putchar('0'+x%10);}
                         ^
0_0_34282480_25034.cpp:24:25: note: 'template<class T> void write(T)' previously declared here
 template <class T> void write(T x){if (x<10) {putchar('0'+x); return;} write(x/10); putchar('0'+x%10);}
                         ^
0_0_34282480_25034.cpp:82:32: error: redefinition of 'template<class T> void writeln(T)'
 template <class T> inline void writeln(T x){ if (x<0) putchar('-'),x*=-1; write(x); putchar('\n'); }
                                ^
0_0_34282480_25034.cpp:25:32: note: 'template<class T> void writeln(T)' previously declared here
 template <class T> inline void writeln(T x){ if (x<0) putchar('-'),x*=-1; write(x); putchar('\n'); }
                                ^
0_0_34282480_25034.cpp:83:32: error: redefinition of 'template<class T> void writel(T)'
 template <class T> inline void writel(T x){ if (x<0) putchar('-'),x*=-1; write(x); putchar(' '); }
                                ^
0_0_34282480_25034.cpp:26:32: note: 'template<class T> void writel(T)' previously declared here
 template <class T> inline void writel(T x){ if (x<0) putchar('-'),x*=-1; write(x); putchar(' '); }
                                ^
0_0_34282480_25034.cpp:85:16: error: redefinition of 'int dp [43][2][2]'
 int dp[43][2][2],cnt,a[41],ans,n,m;
                ^
0_0_34282480_25034.cpp:28:5: note: 'int dp [43][2][2]' previously declared here
 int dp[43][2][2],cnt,a[41],ans,n,m;
     ^
0_0_34282480_25034.cpp:85:18: error: redefinition of 'int cnt'
 int dp[43][2][2],cnt,a[41],ans,n,m;
                  ^
0_0_34282480_25034.cpp:28:18: note: 'int cnt' previously declared here
 int dp[43][2][2],cnt,a[41],ans,n,m;
                  ^
0_0_34282480_25034.cpp:85:26: error: redefinition of 'int a [41]'
 int dp[43][2][2],cnt,a[41],ans,n,m;
                          ^
0_0_34282480_25034.cpp:28:22: note: 'int a [41]' previously declared here
 int dp[43][2][2],cnt,a[41],ans,n,m;
                      ^
0_0_34282480_25034.cpp:85:28: error: redefinition of 'int ans'
 int dp[43][2][2],cnt,a[41],ans,n,m;
                            ^
0_0_34282480_25034.cpp:28:28: note: 'int ans' previously declared here
 int dp[43][2][2],cnt,a[41],ans,n,m;
                            ^
0_0_34282480_25034.cpp:85:32: error: redefinition of 'int n'
 int dp[43][2][2],cnt,a[41],ans,n,m;
                                ^
0_0_34282480_25034.cpp:28:32: note: 'int n' previously declared here
 int dp[43][2][2],cnt,a[41],ans,n,m;
                                ^
0_0_34282480_25034.cpp:85:34: error: redefinition of 'int m'
 int dp[43][2][2],cnt,a[41],ans,n,m;
                                  ^
0_0_34282480_25034.cpp:28:34: note: 'int m' previously declared here
 int dp[43][2][2],cnt,a[41],ans,n,m;
                                  ^
0_0_34282480_25034.cpp: In function 'int dfs(int, int, int)':
0_0_34282480_25034.cpp:86:5: error: redefinition of 'int dfs(int, int, int)'
 int dfs(int w,int op,int lim){
     ^
0_0_34282480_25034.cpp:29:5: note: 'int dfs(int, int, int)' previously defined here
 int dfs(int w,int op,int lim){
     ^
0_0_34282480_25034.cpp: In function 'int sol(int)':
0_0_34282480_25034.cpp:95:5: error: redefinition of 'int sol(int)'
 int sol(int x){
     ^
0_0_34282480_25034.cpp:38:5: note: 'int sol(int)' previously defined here
 int sol(int x){
     ^
0_0_34282480_25034.cpp: In function 'int main()':
0_0_34282480_25034.cpp:103:8: error: redefinition of 'int main()'
 signed main() {
        ^
0_0_34282480_25034.cpp:46: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-07-01 13:43:20, Gzip enabled