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_20611271_16933.cpp:44:11: error: redefinition of 'const int N'
 const int N = 50005;
           ^
0_0_20611271_16933.cpp:4:11: note: 'const int N' previously defined here
 const int N = 50005;
           ^
0_0_20611271_16933.cpp:45:15: error: redefinition of 'double p [50005][11]'
 double p[N][11], va[N];
               ^
0_0_20611271_16933.cpp:5:8: note: 'double p [50005][11]' previously declared here
 double p[N][11], va[N];
        ^
0_0_20611271_16933.cpp:45:22: error: redefinition of 'double va [50005]'
 double p[N][11], va[N];
                      ^
0_0_20611271_16933.cpp:5:18: note: 'double va [50005]' previously declared here
 double p[N][11], va[N];
                  ^
0_0_20611271_16933.cpp:48:13: error: redefinition of 'template<class T> void read(T&)'
 inline void read(T &res) {
             ^
0_0_20611271_16933.cpp:8:13: note: 'template<class T> void read(T&)' previously declared here
 inline void read(T &res) {
             ^
0_0_20611271_16933.cpp: In function 'int main()':
0_0_20611271_16933.cpp:53:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_20611271_16933.cpp:13:5: note: 'int main()' previously defined here
 int main() {
     ^
0_0_20611271_16933.cpp: At global scope:
0_0_20611271_16933.cpp:84:11: error: redefinition of 'const int N'
 const int N = 50005;
           ^
0_0_20611271_16933.cpp:4:11: note: 'const int N' previously defined here
 const int N = 50005;
           ^
0_0_20611271_16933.cpp:85:15: error: redefinition of 'double p [50005][11]'
 double p[N][11], va[N];
               ^
0_0_20611271_16933.cpp:5:8: note: 'double p [50005][11]' previously declared here
 double p[N][11], va[N];
        ^
0_0_20611271_16933.cpp:85:22: error: redefinition of 'double va [50005]'
 double p[N][11], va[N];
                      ^
0_0_20611271_16933.cpp:5:18: note: 'double va [50005]' previously declared here
 double p[N][11], va[N];
                  ^
0_0_20611271_16933.cpp:88:13: error: redefinition of 'template<class T> void read(T&)'
 inline void read(T &res) {
             ^
0_0_20611271_16933.cpp:8:13: note: 'template<class T> void read(T&)' previously declared here
 inline void read(T &res) {
             ^
0_0_20611271_16933.cpp: In function 'int main()':
0_0_20611271_16933.cpp:93:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_20611271_16933.cpp:13:5: note: 'int main()' previously defined here
 int main() {
     ^
0_0_20611271_16933.cpp: At global scope:
0_0_20611271_16933.cpp:124:11: error: redefinition of 'const int N'
 const int N = 50005;
           ^
0_0_20611271_16933.cpp:4:11: note: 'const int N' previously defined here
 const int N = 50005;
           ^
0_0_20611271_16933.cpp:125:15: error: redefinition of 'double p [50005][11]'
 double p[N][11], va[N];
               ^
0_0_20611271_16933.cpp:5:8: note: 'double p [50005][11]' previously declared here
 double p[N][11], va[N];
        ^
0_0_20611271_16933.cpp:125:22: error: redefinition of 'double va [50005]'
 double p[N][11], va[N];
                      ^
0_0_20611271_16933.cpp:5:18: note: 'double va [50005]' previously declared here
 double p[N][11], va[N];
                  ^
0_0_20611271_16933.cpp:128:13: error: redefinition of 'template<class T> void read(T&)'
 inline void read(T &res) {
             ^
0_0_20611271_16933.cpp:8:13: note: 'template<class T> void read(T&)' previously declared here
 inline void read(T &res) {
             ^
0_0_20611271_16933.cpp: In function 'int main()':
0_0_20611271_16933.cpp:133:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_20611271_16933.cpp:13:5: note: 'int main()' previously defined here
 int main() {
     ^
0_0_20611271_16933.cpp: At global scope:
0_0_20611271_16933.cpp:164:11: error: redefinition of 'const int N'
 const int N = 50005;
           ^
0_0_20611271_16933.cpp:4:11: note: 'const int N' previously defined here
 const int N = 50005;
           ^
0_0_20611271_16933.cpp:165:15: error: redefinition of 'double p [50005][11]'
 double p[N][11], va[N];
               ^
0_0_20611271_16933.cpp:5:8: note: 'double p [50005][11]' previously declared here
 double p[N][11], va[N];
        ^
0_0_20611271_16933.cpp:165:22: error: redefinition of 'double va [50005]'
 double p[N][11], va[N];
                      ^
0_0_20611271_16933.cpp:5:18: note: 'double va [50005]' previously declared here
 double p[N][11], va[N];
                  ^
0_0_20611271_16933.cpp:168:13: error: redefinition of 'template<class T> void read(T&)'
 inline void read(T &res) {
             ^
0_0_20611271_16933.cpp:8:13: note: 'template<class T> void read(T&)' previously declared here
 inline void read(T &res) {
             ^
0_0_20611271_16933.cpp: In function 'int main()':
0_0_20611271_16933.cpp:173:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_20611271_16933.cpp:13:5: note: 'int main()' previously defined here
 int main() {
     ^
0_0_20611271_16933.cpp: At global scope:
0_0_20611271_16933.cpp:204:11: error: redefinition of 'const int N'
 const int N = 50005;
           ^
0_0_20611271_16933.cpp:4:11: note: 'const int N' previously defined here
 const int N = 50005;
           ^
0_0_20611271_16933.cpp:205:15: error: redefinition of 'double p [50005][11]'
 double p[N][11], va[N];
               ^
0_0_20611271_16933.cpp:5:8: note: 'double p [50005][11]' previously declared here
 double p[N][11], va[N];
        ^
0_0_20611271_16933.cpp:205:22: error: redefinition of 'double va [50005]'
 double p[N][11], va[N];
                      ^
0_0_20611271_16933.cpp:5:18: note: 'double va [50005]' previously declared here
 double p[N][11], va[N];
                  ^
0_0_20611271_16933.cpp:208:13: error: redefinition of 'template<class T> void read(T&)'
 inline void read(T &res) {
             ^
0_0_20611271_16933.cpp:8:13: note: 'template<class T> void read(T&)' previously declared here
 inline void read(T &res) {
             ^
0_0_20611271_16933.cpp: In function 'int main()':
0_0_20611271_16933.cpp:213:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_20611271_16933.cpp:13: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-06-26 21:01:45, Gzip enabled