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_20973010_20221.cpp: In function 'LL ksm(LL, LL, LL)':
0_0_20973010_20221.cpp:21:2: error: 'Ll' was not declared in this scope
  Ll ans=1;
  ^
0_0_20973010_20221.cpp:24:11: error: 'ans' was not declared in this scope
   if(k&1) ans=mul(ans,a,p);
           ^
0_0_20973010_20221.cpp:25:3: error: 'ans' was not declared in this scope
   ans=mul(ans,ans,p); k>>=1; 
   ^
0_0_20973010_20221.cpp:27:9: error: 'ans' was not declared in this scope
  return ans;
         ^
0_0_20973010_20221.cpp: In function 'int main()':
0_0_20973010_20221.cpp:48:20: error: 'ans' was not declared in this scope
   if(gcd(m,10)!=1) ans=0,flag=1;
                    ^
0_0_20973010_20221.cpp:52:4: error: 'ans' was not declared in this scope
    ans=e;
    ^
0_0_20973010_20221.cpp:61:36: error: 'ans' was not declared in this scope
   printf("Case %d: %I64d\n",++Case,ans);
                                    ^


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-27 01:05:25, Gzip enabled