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_34829989_3649.cpp: In function 'std::vector<long long int> Pollard_Rho::getFac(long long int)':
0_0_34829989_3649.cpp:147:36: error: 'sort' was not declared in this scope
         sort(fac.begin(), fac.end());
                                    ^
0_0_34829989_3649.cpp:148:48: error: 'unique' was not declared in this scope
         fac.erase(unique(fac.begin(), fac.end()), fac.end());
                                                ^
0_0_34829989_3649.cpp: In function 'std::vector<std::pair<long long int, int> > Pollard_Rho::getPrimeFac(long long int)':
0_0_34829989_3649.cpp:160:36: error: 'sort' was not declared in this scope
         sort(fac.begin(), fac.end());
                                    ^
0_0_34829989_3649.cpp:161:48: error: 'unique' was not declared in this scope
         fac.erase(unique(fac.begin(), fac.end()), fac.end());
                                                ^


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-02 02:13:58, Gzip enabled