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_38369431_4330.cpp:112:11: error: redefinition of 'const int N'
 const int N = 10010;
           ^
0_0_38369431_4330.cpp:17:11: note: 'const int N' previously defined here
 const int N = 10010;
           ^
0_0_38369431_4330.cpp:113:14: error: redefinition of 'const double PI'
 const double PI = 3.1415927;
              ^
0_0_38369431_4330.cpp:18:14: note: 'const double PI' previously defined here
 const double PI = 3.1415927;
              ^
0_0_38369431_4330.cpp: In function 'bool check(int)':
0_0_38369431_4330.cpp:115:6: error: redefinition of 'bool check(int)'
 bool check(int n) {
      ^
0_0_38369431_4330.cpp:20:6: note: 'bool check(int)' previously defined here
 bool check(int n) {
      ^
0_0_38369431_4330.cpp: In function 'int main()':
0_0_38369431_4330.cpp:127:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_38369431_4330.cpp:32: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-25 09:50:12, Gzip enabled