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_34987601_29826.cpp:62:2: error: stray '#' in program
 }#include<stdio.h>
  ^
0_0_34987601_29826.cpp:62:3: error: 'include' does not name a type
 }#include<stdio.h>
   ^
0_0_34987601_29826.cpp:67:5: error: redefinition of 'int n'
 int n,ans;
     ^
0_0_34987601_29826.cpp:6:5: note: 'int n' previously declared here
 int n,ans;
     ^
0_0_34987601_29826.cpp:67:7: error: redefinition of 'int ans'
 int n,ans;
       ^
0_0_34987601_29826.cpp:6:7: note: 'int ans' previously declared here
 int n,ans;
       ^
0_0_34987601_29826.cpp:68:11: error: redefinition of 'long long int num'
 long long num;
           ^
0_0_34987601_29826.cpp:7:11: note: 'long long int num' previously declared here
 long long num;
           ^
0_0_34987601_29826.cpp: In function 'long long int pow_mod(long long int, long long int, long long int)':
0_0_34987601_29826.cpp:70:11: error: redefinition of 'long long int pow_mod(long long int, long long int, long long int)'
 long long pow_mod(long long base, long long index, long long mod)
           ^
0_0_34987601_29826.cpp:9:11: note: 'long long int pow_mod(long long int, long long int, long long int)' previously defined here
 long long pow_mod(long long base, long long index, long long mod)
           ^
0_0_34987601_29826.cpp: In function 'int miller_rabbin(long long int, long long int)':
0_0_34987601_29826.cpp:83:5: error: redefinition of 'int miller_rabbin(long long int, long long int)'
 int miller_rabbin(long long k, long long primer)
     ^
0_0_34987601_29826.cpp:22:5: note: 'int miller_rabbin(long long int, long long int)' previously defined here
 int miller_rabbin(long long k, long long primer)
     ^
0_0_34987601_29826.cpp: In function 'int isPrimer(long long int)':
0_0_34987601_29826.cpp:97:5: error: redefinition of 'int isPrimer(long long int)'
 int isPrimer(long long k)
     ^
0_0_34987601_29826.cpp:36:5: note: 'int isPrimer(long long int)' previously defined here
 int isPrimer(long long k)
     ^
0_0_34987601_29826.cpp: In function 'int main()':
0_0_34987601_29826.cpp:108:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_34987601_29826.cpp:47: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-07-03 15:37:52, Gzip enabled