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_33572419_19688.cpp:96:11: error: redefinition of 'const int mod'
 const int mod = 998244353;
           ^
0_0_33572419_19688.cpp:13:11: note: 'const int mod' previously defined here
 const int mod = 998244353;
           ^
0_0_33572419_19688.cpp:97:11: error: redefinition of 'const int MOD'
 const int MOD = 998244353;
           ^
0_0_33572419_19688.cpp:14:11: note: 'const int MOD' previously defined here
 const int MOD = 998244353;
           ^
0_0_33572419_19688.cpp:98:11: error: redefinition of 'const int inf'
 const int inf = 0x3f3f3f3f;
           ^
0_0_33572419_19688.cpp:15:11: note: 'const int inf' previously defined here
 const int inf = 0x3f3f3f3f;
           ^
0_0_33572419_19688.cpp:99:10: error: redefinition of 'const ll LINF'
 const ll LINF = 0x3f3f3f3f3f3f3f3f;
          ^
0_0_33572419_19688.cpp:16:10: note: 'const ll LINF' previously defined here
 const ll LINF = 0x3f3f3f3f3f3f3f3f;
          ^
0_0_33572419_19688.cpp:100:14: error: redefinition of 'const double eps'
 const double eps = 1e-14;
              ^
0_0_33572419_19688.cpp:17:14: note: 'const double eps' previously defined here
 const double eps = 1e-14;
              ^
0_0_33572419_19688.cpp:101:14: error: redefinition of 'const double pi'
 const double pi = acos(-1);
              ^
0_0_33572419_19688.cpp:18:14: note: 'const double pi' previously defined here
 const double pi = acos(-1);
              ^
0_0_33572419_19688.cpp: In function 'll Pow(ll, ll)':
0_0_33572419_19688.cpp:102:4: error: redefinition of 'll Pow(ll, ll)'
 ll Pow(ll x, ll y){ ll res = 1; while (y){ if (y & 1) res = res*x%mod; y >>= 1; x = x*x%mod; }return res; }
    ^
0_0_33572419_19688.cpp:19:4: note: 'll Pow(ll, ll)' previously defined here
 ll Pow(ll x, ll y){ ll res = 1; while (y){ if (y & 1) res = res*x%mod; y >>= 1; x = x*x%mod; }return res; }
    ^
0_0_33572419_19688.cpp: In function 'll gcd(ll, ll)':
0_0_33572419_19688.cpp:103:4: error: redefinition of 'll gcd(ll, ll)'
 ll gcd(ll x, ll y){ return y == 0 ? x : gcd(y, x%y); }
    ^
0_0_33572419_19688.cpp:20:4: note: 'll gcd(ll, ll)' previously defined here
 ll gcd(ll x, ll y){ return y == 0 ? x : gcd(y, x%y); }
    ^
0_0_33572419_19688.cpp: In function 'll lcm(ll, ll)':
0_0_33572419_19688.cpp:104:4: error: redefinition of 'll lcm(ll, ll)'
 ll lcm(ll x, ll y){ return x / gcd(x, y)*y; }
    ^
0_0_33572419_19688.cpp:21:4: note: 'll lcm(ll, ll)' previously defined here
 ll lcm(ll x, ll y){ return x / gcd(x, y)*y; }
    ^
0_0_33572419_19688.cpp: At global scope:
0_0_33572419_19688.cpp:106:11: error: redefinition of 'const int maxn'
 const int maxn = 1e8 + 10;
           ^
0_0_33572419_19688.cpp:23:11: note: 'const int maxn' previously defined here
 const int maxn = 1e8 + 10;
           ^
0_0_33572419_19688.cpp:107:12: error: redefinition of 'll inv [100000010]'
 ll inv[maxn];//分数和
            ^
0_0_33572419_19688.cpp:24:4: note: 'll inv [100000010]' previously declared here
 ll inv[maxn];//分数和
    ^
0_0_33572419_19688.cpp: In function 'int mobi(int)':
0_0_33572419_19688.cpp:108:5: error: redefinition of 'int mobi(int)'
 int mobi(int n){
     ^
0_0_33572419_19688.cpp:25:5: note: 'int mobi(int)' previously defined here
 int mobi(int n){
     ^
0_0_33572419_19688.cpp: In function 'int main()':
0_0_33572419_19688.cpp:127:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_33572419_19688.cpp:44: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-12-01 19:45:50, Gzip enabled