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_37942267_16018.cpp: In function 'long long int rho(long long int)':
0_0_37942267_16018.cpp:26:38: error: 'gcd' was not declared in this scope
   for(ll x=0,y=0,i=0;i++%255||gcd(p,n)==1;x=f(x),y=f(f(y))){
                                      ^
0_0_37942267_16018.cpp:30:17: error: 'gcd' was not declared in this scope
   return gcd(p,n);
                 ^
0_0_37942267_16018.cpp: In function 'int main()':
0_0_37942267_16018.cpp:36:9: error: 'i' was not declared in this scope
     rep(i,1,n)qin>>x,ans+=isprime(x);
         ^
0_0_37942267_16018.cpp:36:14: error: 'rep' was not declared in this scope
     rep(i,1,n)qin>>x,ans+=isprime(x);
              ^
0_0_37942267_16018.cpp:37:5: error: 'qout' was not declared in this scope
     qout<<ans<<'\n';
     ^


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-01 13:17:31, Gzip enabled