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_22598512_24850.cpp: In function 'void cal(int)':
0_0_22598512_24850.cpp:113:39: error: invalid initialization of non-const reference of type 'std::__detail::_Node_iterator<std::pair<const long long int, int>, false, false>&' from an rvalue of type 'std::unordered_map<long long int, int>::iterator {aka std::__detail::_Node_iterator<std::pair<const long long int, int>, false, false>}'
    auto &it = hash.find(k*inv[d] % MOD);
                                       ^


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 12:05:36, Gzip enabled