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_39347875_32424.cpp: In function '__int128 ss(ll, ll, ll)':
0_0_39347875_32424.cpp:30:19: error: call of overloaded 'pow(__int128&, ll&)' is ambiguous
   30 |         res *= pow(s, b);
      |                ~~~^~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:47,
                 from 0_0_39347875_32424.cpp:3:
gcc-13.1.0/x86_64-w64-mingw32/include/math.h:191:18: note: candidate: 'double pow(double, double)'
  191 |   double __cdecl pow(double _X,double _Y);
      |                  ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:394:3: note: candidate: 'constexpr long double std::pow(long double, long double)'
  394 |   pow(long double __x, long double __y)
      |   ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:390:3: note: candidate: 'constexpr float std::pow(float, float)'
  390 |   pow(float __x, float __y)
      |   ^~~


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 08:46:47, Gzip enabled