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_17407428_5086.cpp: In function 'll solve1(ll)':
0_0_17407428_5086.cpp:34:45: error: invalid operands of types '__gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}' and 'const long long int' to binary 'operator%'
     return (pow(6,n) + 24) * pow(30,2009) % mod;
                                             ^
0_0_17407428_5086.cpp: In function 'll solve2(ll)':
0_0_17407428_5086.cpp:39:43: error: invalid operands of types '__gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}' and 'const long long int' to binary 'operator%'
     return (pow(6,n) - 1) * pow(5,2009) % 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-23 03:24:42, Gzip enabled