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_39529834_28009.cpp: In function 'i64 solve(i64, i64)':
0_0_39529834_28009.cpp:11:16: error: 'pow' was not declared in this scope
   11 |         return pow(n, 1.0 / k) - 1;
      |                ^~~
0_0_39529834_28009.cpp: In function 'int main()':
0_0_39529834_28009.cpp:30:2: error: expected '}' at end of input
   30 | }
      |  ^
0_0_39529834_28009.cpp:16:26: note: to match this '{'
   16 |         while (cin >> n) {
      |                          ^
0_0_39529834_28009.cpp:30:2: error: expected '}' at end of input
   30 | }
      |  ^
0_0_39529834_28009.cpp:14:11: note: to match this '{'
   14 | int main(){
      |           ^


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-22 12:09:34, Gzip enabled