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_39522517_31450.cpp: In function 'void init()':
0_0_39522517_31450.cpp:22:14: error: 'lcm' was not declared in this scope; did you mean 'std::lcm'?
   22 |       LL l = lcm(i, j);
      |              ^~~
      |              std::lcm
In file included from .\stdc++.h:58:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:179:5: note: 'std::lcm' declared here
  179 |     lcm(_Mn __m, _Nn __n) noexcept
      |     ^~~


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-23 04:58:50, Gzip enabled