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_34469747_25396.cpp:59:5: error: redefinition of 'long long int p'
 int p, a;
     ^
0_0_34469747_25396.cpp:13:5: note: 'long long int p' previously declared here
 int p, a;
     ^
0_0_34469747_25396.cpp:59:8: error: redefinition of 'long long int a'
 int p, a;
        ^
0_0_34469747_25396.cpp:13:8: note: 'long long int a' previously declared here
 int p, a;
        ^
0_0_34469747_25396.cpp: In function 'bool check(long long int)':
0_0_34469747_25396.cpp:61:6: error: redefinition of 'bool check(long long int)'
 bool check(int x){
      ^
0_0_34469747_25396.cpp:15:6: note: 'bool check(long long int)' previously defined here
 bool check(int x){
      ^
0_0_34469747_25396.cpp: In function 'long long int power(long long int, long long int, long long int)':
0_0_34469747_25396.cpp:68:5: error: redefinition of 'long long int power(long long int, long long int, long long int)'
 int power(int a, int b, int md){
     ^
0_0_34469747_25396.cpp:22:5: note: 'long long int power(long long int, long long int, long long int)' previously defined here
 int power(int a, int b, int md){
     ^
0_0_34469747_25396.cpp: In function 'int main()':
0_0_34469747_25396.cpp:78:8: error: redefinition of 'int main()'
 signed main(){
        ^
0_0_34469747_25396.cpp:32:8: note: 'int main()' previously defined here
 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-26 06:40:30, Gzip enabled