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_17202375_20913.cpp:35:2: error: stray '#' in program
 }#include <cstdio>
  ^
0_0_17202375_20913.cpp:35:3: error: 'include' does not name a type
 }#include <cstdio>
   ^
0_0_17202375_20913.cpp:45:11: error: redefinition of 'const int V'
 const int V = 100000 + 50;
           ^
0_0_17202375_20913.cpp:11:11: note: 'const int V' previously defined here
 const int V = 100000 + 50;
           ^
0_0_17202375_20913.cpp:46:11: error: redefinition of 'const int MaxN'
 const int MaxN = 80 + 5;
           ^
0_0_17202375_20913.cpp:12:11: note: 'const int MaxN' previously defined here
 const int MaxN = 80 + 5;
           ^
0_0_17202375_20913.cpp:47:11: error: redefinition of 'const int mod'
 const int mod = 10000 + 7;
           ^
0_0_17202375_20913.cpp:13:11: note: 'const int mod' previously defined here
 const int mod = 10000 + 7;
           ^
0_0_17202375_20913.cpp:48:15: error: redefinition of 'const long long int INF'
 const __int64 INF = 0x7FFFFFFFFFFFFFFFLL;
               ^
0_0_17202375_20913.cpp:14:15: note: 'const long long int INF' previously defined here
 const __int64 INF = 0x7FFFFFFFFFFFFFFFLL;
               ^
0_0_17202375_20913.cpp:49:11: error: redefinition of 'const int inf'
 const int inf = 0x7fffffff;
           ^
0_0_17202375_20913.cpp:15:11: note: 'const int inf' previously defined here
 const int inf = 0x7fffffff;
           ^
0_0_17202375_20913.cpp:51:5: error: redefinition of 'int n'
 int n, m, ans;
     ^
0_0_17202375_20913.cpp:16:5: note: 'int n' previously declared here
 int n, m, sum[V], ans;
     ^
0_0_17202375_20913.cpp:51:8: error: redefinition of 'int m'
 int n, m, ans;
        ^
0_0_17202375_20913.cpp:16:8: note: 'int m' previously declared here
 int n, m, sum[V], ans;
        ^
0_0_17202375_20913.cpp:51:11: error: redefinition of 'int ans'
 int n, m, ans;
           ^
0_0_17202375_20913.cpp:16:19: note: 'int ans' previously declared here
 int n, m, sum[V], ans;
                   ^
0_0_17202375_20913.cpp: In function 'int main()':
0_0_17202375_20913.cpp:52:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_17202375_20913.cpp:17:5: note: 'int main()' previously defined here
 int main() {
     ^
0_0_17202375_20913.cpp: At global scope:
0_0_17202375_20913.cpp:84:11: error: redefinition of 'const int V'
 const int V = 100000 + 50;
           ^
0_0_17202375_20913.cpp:11:11: note: 'const int V' previously defined here
 const int V = 100000 + 50;
           ^
0_0_17202375_20913.cpp:85:11: error: redefinition of 'const int MaxN'
 const int MaxN = 80 + 5;
           ^
0_0_17202375_20913.cpp:12:11: note: 'const int MaxN' previously defined here
 const int MaxN = 80 + 5;
           ^
0_0_17202375_20913.cpp:86:11: error: redefinition of 'const int mod'
 const int mod = 10000 + 7;
           ^
0_0_17202375_20913.cpp:13:11: note: 'const int mod' previously defined here
 const int mod = 10000 + 7;
           ^
0_0_17202375_20913.cpp:87:15: error: redefinition of 'const long long int INF'
 const __int64 INF = 0x7FFFFFFFFFFFFFFFLL;
               ^
0_0_17202375_20913.cpp:14:15: note: 'const long long int INF' previously defined here
 const __int64 INF = 0x7FFFFFFFFFFFFFFFLL;
               ^
0_0_17202375_20913.cpp:88:11: error: redefinition of 'const int inf'
 const int inf = 0x7fffffff;
           ^
0_0_17202375_20913.cpp:15:11: note: 'const int inf' previously defined here
 const int inf = 0x7fffffff;
           ^
0_0_17202375_20913.cpp:89:5: error: redefinition of 'int n'
 int n, m, ans, sum[V];
     ^
0_0_17202375_20913.cpp:16:5: note: 'int n' previously declared here
 int n, m, sum[V], ans;
     ^
0_0_17202375_20913.cpp:89:8: error: redefinition of 'int m'
 int n, m, ans, sum[V];
        ^
0_0_17202375_20913.cpp:16:8: note: 'int m' previously declared here
 int n, m, sum[V], ans;
        ^
0_0_17202375_20913.cpp:89:11: error: redefinition of 'int ans'
 int n, m, ans, sum[V];
           ^
0_0_17202375_20913.cpp:16:19: note: 'int ans' previously declared here
 int n, m, sum[V], ans;
                   ^
0_0_17202375_20913.cpp:89:21: error: redefinition of 'int sum [100050]'
 int n, m, ans, sum[V];
                     ^
0_0_17202375_20913.cpp:16:11: note: 'int sum [100050]' previously declared here
 int n, m, sum[V], ans;
           ^
0_0_17202375_20913.cpp: In function 'int main()':
0_0_17202375_20913.cpp:92:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_17202375_20913.cpp:17: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-11-26 04:20:51, Gzip enabled