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_21969569_26547.cpp:47:2: error: stray '#' in program
 }#include<map>
  ^
0_0_21969569_26547.cpp:47:3: error: 'include' does not name a type
 }#include<map>
   ^
0_0_21969569_26547.cpp:69:11: error: redefinition of 'const int MOD'
 const int MOD=1e9+7;
           ^
0_0_21969569_26547.cpp:23:11: note: 'const int MOD' previously defined here
 const int MOD=1e9+7;
           ^
0_0_21969569_26547.cpp:70:11: error: redefinition of 'const int INF'
 const int INF=0x3f3f3f3f;
           ^
0_0_21969569_26547.cpp:24:11: note: 'const int INF' previously defined here
 const int INF=0x3f3f3f3f;
           ^
0_0_21969569_26547.cpp:71:10: error: redefinition of 'const LL INFF'
 const LL INFF=0x3f3f3f3f3f3f3f3fLL;
          ^
0_0_21969569_26547.cpp:25:10: note: 'const LL INFF' previously defined here
 const LL INFF=0x3f3f3f3f3f3f3f3fLL;
          ^
0_0_21969569_26547.cpp:72:14: error: redefinition of 'const double OO'
 const double OO=1e20;
              ^
0_0_21969569_26547.cpp:26:14: note: 'const double OO' previously defined here
 const double OO=1e20;
              ^
0_0_21969569_26547.cpp:73:14: error: redefinition of 'const double EPS'
 const double EPS=1e-9;
              ^
0_0_21969569_26547.cpp:27:14: note: 'const double EPS' previously defined here
 const double EPS=1e-9;
              ^
0_0_21969569_26547.cpp:74:14: error: redefinition of 'const double PI'
 const double PI=acos (-1.0);
              ^
0_0_21969569_26547.cpp:28:14: note: 'const double PI' previously defined here
 const double PI=acos (-1.0);
              ^
0_0_21969569_26547.cpp:75:8: error: redefinition of 'int dx []'
 int dx[]= {0,1,0,-1};
        ^
0_0_21969569_26547.cpp:29:5: note: 'int dx [4]' previously defined here
 int dx[]= {0,1,0,-1};
     ^
0_0_21969569_26547.cpp:76:8: error: redefinition of 'int dy []'
 int dy[]= {1,0,-1,0};
        ^
0_0_21969569_26547.cpp:30:5: note: 'int dy [4]' previously defined here
 int dy[]= {1,0,-1,0};
     ^
0_0_21969569_26547.cpp: In function 'int gcd(const LL&, const LL&)':
0_0_21969569_26547.cpp:78:5: error: redefinition of 'int gcd(const LL&, const LL&)'
 int gcd (const LL &a,const LL &b) {
     ^
0_0_21969569_26547.cpp:32:5: note: 'int gcd(const LL&, const LL&)' previously defined here
 int gcd (const LL &a,const LL &b) {
     ^
0_0_21969569_26547.cpp: In function 'int dcmp(double, double)':
0_0_21969569_26547.cpp:81:12: error: redefinition of 'int dcmp(double, double)'
 inline int dcmp (double a,double b) {
            ^
0_0_21969569_26547.cpp:35:12: note: 'int dcmp(double, double)' previously defined here
 inline int dcmp (double a,double b) {
            ^
0_0_21969569_26547.cpp: At global scope:
0_0_21969569_26547.cpp:85:11: error: redefinition of 'const int M'
 const int M=30030;
           ^
0_0_21969569_26547.cpp:39:11: note: 'const int M' previously defined here
 const int M=30030;
           ^
0_0_21969569_26547.cpp: In function 'int main()':
0_0_21969569_26547.cpp:86:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_21969569_26547.cpp:40: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 11:47:47, Gzip enabled