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_17186789_912.cpp:51:13: error: redefinition of 'std::map<int, int> mp'
 map<int,int>mp;
             ^
0_0_17186789_912.cpp:7:13: note: 'std::map<int, int> mp' previously declared here
 map<int,int>mp;
             ^
0_0_17186789_912.cpp:52:11: error: redefinition of 'const int MOD'
 const int MOD=2008;
           ^
0_0_17186789_912.cpp:8:11: note: 'const int MOD' previously defined here
 const int MOD=2008;
           ^
0_0_17186789_912.cpp: In function 'int fun(int, int)':
0_0_17186789_912.cpp:53:5: error: redefinition of 'int fun(int, int)'
 int fun(int a,int n){  //a的n次方
     ^
0_0_17186789_912.cpp:9:5: note: 'int fun(int, int)' previously defined here
 int fun(int a,int n){  //a的n次方
     ^
0_0_17186789_912.cpp: In function 'int cal(int)':
0_0_17186789_912.cpp:61:5: error: redefinition of 'int cal(int)'
 int cal(int n){
     ^
0_0_17186789_912.cpp:17:5: note: 'int cal(int)' previously defined here
 int cal(int n){
     ^
0_0_17186789_912.cpp: In function 'int main()':
0_0_17186789_912.cpp:76:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17186789_912.cpp:32: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-16 23:48:38, Gzip enabled