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_36067179_10071.cpp: In function 'long long int geometric(long long int, long long int)':
0_0_36067179_10071.cpp:26:14: error: 'a2' was not declared in this scope
  long long p=a2/a1;
              ^
0_0_36067179_10071.cpp:26:17: error: 'a1' was not declared in this scope
  long long p=a2/a1;
                 ^
0_0_36067179_10071.cpp:27:44: error: 'k' was not declared in this scope
     long long  temp = ((a1%mod)*(pow_mod(p,k-1,mod)))%mod;
                                            ^
0_0_36067179_10071.cpp:27:51: error: 'pow_mod' was not declared in this scope
     long long  temp = ((a1%mod)*(pow_mod(p,k-1,mod)))%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-07-09 05:27:31, Gzip enabled