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_17921632_21881.cpp:37:21: error: stray '#' in program
 bool can(LL n, LL m)#include <algorithm>
                     ^
0_0_17921632_21881.cpp:37:22: error: expected initializer before 'include'
 bool can(LL n, LL m)#include <algorithm>
                      ^
0_0_17921632_21881.cpp:45:8: error: redefinition of 'struct point'
 struct point
        ^
0_0_17921632_21881.cpp:9:8: error: previous definition of 'struct point'
 struct point
        ^
0_0_17921632_21881.cpp:48:11: error: invalid type in declaration before ';' token
 } po[1010];
           ^
0_0_17921632_21881.cpp:48:11: error: conflicting declaration 'int po [1010]'
0_0_17921632_21881.cpp:12:3: note: previous declaration as 'point po [1010]'
 } po[1010];
   ^
0_0_17921632_21881.cpp:49:21: error: redefinition of 'LL fac [111119]'
 LL fac[110119 + 1000];
                     ^
0_0_17921632_21881.cpp:13:4: note: 'LL fac [111119]' previously declared here
 LL fac[110119 + 1000];
    ^
0_0_17921632_21881.cpp:50:5: error: redefinition of 'int r'
 int r, n, m;
     ^
0_0_17921632_21881.cpp:14:5: note: 'int r' previously declared here
 int r, n, m;
     ^
0_0_17921632_21881.cpp:50:8: error: redefinition of 'int n'
 int r, n, m;
        ^
0_0_17921632_21881.cpp:14:8: note: 'int n' previously declared here
 int r, n, m;
        ^
0_0_17921632_21881.cpp:50:11: error: redefinition of 'int m'
 int r, n, m;
           ^
0_0_17921632_21881.cpp:14:11: note: 'int m' previously declared here
 int r, n, m;
           ^
0_0_17921632_21881.cpp:51:12: error: redefinition of 'LL num [1010]'
 LL num[1010];
            ^
0_0_17921632_21881.cpp:15:4: note: 'LL num [1010]' previously declared here
 LL num[1010];
    ^
0_0_17921632_21881.cpp:52:4: error: redefinition of 'LL mod'
 LL mod = 110119;
    ^
0_0_17921632_21881.cpp:16:4: note: 'LL mod' previously defined here
 LL mod = 110119;
    ^
0_0_17921632_21881.cpp: In function 'LL PowMod(LL, LL, LL)':
0_0_17921632_21881.cpp:54:4: error: redefinition of 'LL PowMod(LL, LL, LL)'
 LL PowMod(LL a,LL b,LL MOD)
    ^
0_0_17921632_21881.cpp:18:4: note: 'LL PowMod(LL, LL, LL)' previously defined here
 LL PowMod(LL a,LL b,LL MOD)
    ^
0_0_17921632_21881.cpp: In function 'void Get_Fact(LL)':
0_0_17921632_21881.cpp:66:6: error: redefinition of 'void Get_Fact(LL)'
 void Get_Fact(LL p)
      ^
0_0_17921632_21881.cpp:30:6: note: 'void Get_Fact(LL)' previously defined here
 void Get_Fact(LL p)
      ^
0_0_17921632_21881.cpp: At global scope:
0_0_17921632_21881.cpp:141:1: error: expected unqualified-id before '{' token
 {
 ^
0_0_17921632_21881.cpp: In function 'LL Lucas(LL, LL, LL)':
0_0_17921632_21881.cpp:145:4: error: redefinition of 'LL Lucas(LL, LL, LL)'
 LL Lucas(LL n,LL m,LL p)
    ^
0_0_17921632_21881.cpp:78:4: note: 'LL Lucas(LL, LL, LL)' previously defined here
 LL Lucas(LL n,LL m,LL p)
    ^
0_0_17921632_21881.cpp: In function 'bool cmp(const point&, const point&)':
0_0_17921632_21881.cpp:160:6: error: redefinition of 'bool cmp(const point&, const point&)'
 bool cmp(const point &a, const point &b)
      ^
0_0_17921632_21881.cpp:97:6: note: 'bool cmp(const point&, const point&)' previously defined here
 bool cmp(const point &a, const point &b)
      ^
0_0_17921632_21881.cpp: In function 'LL cal(LL, LL)':
0_0_17921632_21881.cpp:166:4: error: redefinition of 'LL cal(LL, LL)'
 LL cal(LL n, LL m)
    ^
0_0_17921632_21881.cpp:103:4: note: 'LL cal(LL, LL)' previously defined here
 LL cal(LL n, LL m)
    ^
0_0_17921632_21881.cpp: In function 'int main()':
0_0_17921632_21881.cpp:175:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17921632_21881.cpp:112: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-09-29 13:20:06, Gzip enabled