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_33752853_25019.cpp:79:2: error: stray '#' in program
 }#include<algorithm>
  ^
0_0_33752853_25019.cpp:79:3: error: 'include' does not name a type
 }#include<algorithm>
   ^
0_0_33752853_25019.cpp: In function 'void tempwj()':
0_0_33752853_25019.cpp:100:6: error: redefinition of 'void tempwj()'
 void tempwj(){freopen("hash.in","r",stdin);freopen("hash.out","w",stdout);}
      ^
0_0_33752853_25019.cpp:22:6: note: 'void tempwj()' previously defined here
 void tempwj(){freopen("hash.in","r",stdin);freopen("hash.out","w",stdout);}
      ^
0_0_33752853_25019.cpp: In function 'll gcd(ll, ll)':
0_0_33752853_25019.cpp:101:4: error: redefinition of 'll gcd(ll, ll)'
 ll gcd(ll a,ll b){return b == 0 ? a : gcd(b,a % b);}
    ^
0_0_33752853_25019.cpp:23:4: note: 'll gcd(ll, ll)' previously defined here
 ll gcd(ll a,ll b){return b == 0 ? a : gcd(b,a % b);}
    ^
0_0_33752853_25019.cpp: In function 'll qpow(ll, ll, ll)':
0_0_33752853_25019.cpp:102:4: error: redefinition of 'll qpow(ll, ll, ll)'
 ll qpow(ll a,ll b,ll mod){a %= mod;ll ans = 1;while(b > 0){if(b & 1)ans = ans * a % mod;a = a * a % mod;b >>= 1;}return ans;}
    ^
0_0_33752853_25019.cpp:24:4: note: 'll qpow(ll, ll, ll)' previously defined here
 ll qpow(ll a,ll b,ll mod){a %= mod;ll ans = 1;while(b > 0){if(b & 1)ans = ans * a % mod;a = a * a % mod;b >>= 1;}return ans;}
    ^
0_0_33752853_25019.cpp: At global scope:
0_0_33752853_25019.cpp:103:8: error: redefinition of 'struct cmp'
 struct cmp{bool operator()(const pii & a, const pii & b){return a.second < b.second;}};
        ^
0_0_33752853_25019.cpp:25:8: error: previous definition of 'struct cmp'
 struct cmp{bool operator()(const pii & a, const pii & b){return a.second < b.second;}};
        ^
0_0_33752853_25019.cpp: In function 'int lb(int)':
0_0_33752853_25019.cpp:104:5: error: redefinition of 'int lb(int)'
 int lb(int x){return  x & -x;}
     ^
0_0_33752853_25019.cpp:26:5: note: 'int lb(int)' previously defined here
 int lb(int x){return  x & -x;}
     ^
0_0_33752853_25019.cpp: At global scope:
0_0_33752853_25019.cpp:106:11: error: redefinition of 'const int inf'
 const int inf = 0x3f3f3f3f;
           ^
0_0_33752853_25019.cpp:28:11: note: 'const int inf' previously defined here
 const int inf = 0x3f3f3f3f;
           ^
0_0_33752853_25019.cpp:107:10: error: redefinition of 'const ll INF'
 const ll INF = 0x3f3f3f3f3f3f3f3f;
          ^
0_0_33752853_25019.cpp:29:10: note: 'const ll INF' previously defined here
 const ll INF = 0x3f3f3f3f3f3f3f3f;
          ^
0_0_33752853_25019.cpp:109:11: error: redefinition of 'const int maxn'
 const int maxn = 2e5+10;
           ^
0_0_33752853_25019.cpp:31:11: note: 'const int maxn' previously defined here
 const int maxn = 2e5+10;
           ^
0_0_33752853_25019.cpp:110:11: error: redefinition of 'const int M'
 const int M = 1e6;
           ^
0_0_33752853_25019.cpp:32:11: note: 'const int M' previously defined here
 const int M = 1e6;
           ^
0_0_33752853_25019.cpp:111:12: error: redefinition of 'char a [200010]'
 char a[maxn];
            ^
0_0_33752853_25019.cpp:33:6: note: 'char a [200010]' previously declared here
 char a[maxn];
      ^
0_0_33752853_25019.cpp: In function 'int main()':
0_0_33752853_25019.cpp:114:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_33752853_25019.cpp:36: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-05 03:47:10, Gzip enabled