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_39804772_15519.cpp:46:5: error: redefinition of 'int a [30005]'
   46 | int a[30005];
      |     ^
0_0_39804772_15519.cpp:5:5: note: 'int a [30005]' previously declared here
    5 | int a[30005];
      |     ^
0_0_39804772_15519.cpp:47:5: error: redefinition of 'int n'
   47 | int n, k, B;
      |     ^
0_0_39804772_15519.cpp:6:5: note: 'int n' previously declared here
    6 | int n, k, B;
      |     ^
0_0_39804772_15519.cpp:47:8: error: redefinition of 'int k'
   47 | int n, k, B;
      |        ^
0_0_39804772_15519.cpp:6:8: note: 'int k' previously declared here
    6 | int n, k, B;
      |        ^
0_0_39804772_15519.cpp:47:11: error: redefinition of 'int B'
   47 | int n, k, B;
      |           ^
0_0_39804772_15519.cpp:6:11: note: 'int B' previously declared here
    6 | int n, k, B;
      |           ^
0_0_39804772_15519.cpp:48:15: error: redefinition of 'std::map<int, int> mp [205]'
   48 | map<int, int> mp[205];
      |               ^~
0_0_39804772_15519.cpp:7:15: note: 'std::map<int, int> mp [205]' previously declared here
    7 | map<int, int> mp[205];
      |               ^~
0_0_39804772_15519.cpp:49:5: error: redefinition of 'int sm [205][205]'
   49 | int sm[205][205];
      |     ^~
0_0_39804772_15519.cpp:8:5: note: 'int sm [205][205]' previously declared here
    8 | int sm[205][205];
      |     ^~
0_0_39804772_15519.cpp:50:5: error: redefinition of 'int cc [205][30005]'
   50 | int cc[205][30005];
      |     ^~
0_0_39804772_15519.cpp:9:5: note: 'int cc [205][30005]' previously declared here
    9 | int cc[205][30005];
      |     ^~
0_0_39804772_15519.cpp:52:5: error: redefinition of 'int sg(int, int)'
   52 | int sg(int x, int y) {
      |     ^~
0_0_39804772_15519.cpp:11:5: note: 'int sg(int, int)' previously defined here
   11 | int sg(int x, int y) {
      |     ^~
0_0_39804772_15519.cpp:61:8: error: redefinition of 'int main()'
   61 | signed main() {
      |        ^~~~
0_0_39804772_15519.cpp:20:8: note: 'int main()' previously defined here
   20 | signed 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-22 16:16:49, Gzip enabled