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_21021067_18607.cpp:19:12: error: 'LL' was not declared in this scope
 double fun(LL n,LL x)
            ^
0_0_21021067_18607.cpp:19:17: error: 'LL' was not declared in this scope
 double fun(LL n,LL x)
                 ^
0_0_21021067_18607.cpp:19:21: error: expression list treated as compound expression in initializer [-fpermissive]
 double fun(LL n,LL x)
                     ^
0_0_21021067_18607.cpp:20:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_21021067_18607.cpp: In function 'double solve(int, int, int)':
0_0_21021067_18607.cpp:34:21: error: 'LL' was not declared in this scope
         return fun((LL)n, (LL)b*q*q*q);
                     ^
0_0_21021067_18607.cpp:34:31: error: expected ')' before 'b'
         return fun((LL)n, (LL)b*q*q*q);
                               ^
0_0_21021067_18607.cpp:34:38: error: 'fun' cannot be used as a function
         return fun((LL)n, (LL)b*q*q*q);
                                      ^


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-03 14:38:41, Gzip enabled