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_32161783_7918.cpp:7:9: error: 'LL' does not name a type
 typedef LL LL;
         ^
0_0_32161783_7918.cpp: In function 'int pow(int, int, int)':
0_0_32161783_7918.cpp:14:21: error: 'LL' was not declared in this scope
   if (b & 1) ans = (LL)ans * a % p;
                     ^
0_0_32161783_7918.cpp:15:8: error: 'LL' was not declared in this scope
   a = (LL)a * a % p;
        ^
0_0_32161783_7918.cpp: In function 'int main()':
0_0_32161783_7918.cpp:22:5: error: 'LL' was not declared in this scope
     LL c;
     ^
0_0_32161783_7918.cpp:23:8: error: expected ';' before 'k1'
     LL k1,b1,k2;
        ^
0_0_32161783_7918.cpp:24:8: error: expected ';' before 'ans'
     LL ans;
        ^
0_0_32161783_7918.cpp:25:8: error: expected ';' before 'flag'
     LL flag;
        ^
0_0_32161783_7918.cpp:26:16: error: 'c' was not declared in this scope
     while(cin>>c){
                ^
0_0_32161783_7918.cpp:27:9: error: 'ans' was not declared in this scope
         ans=0;
         ^
0_0_32161783_7918.cpp:28:9: error: 'flag' was not declared in this scope
         flag=0;
         ^
0_0_32161783_7918.cpp:29:14: error: 'k1' was not declared in this scope
         cin>>k1>>b1>>k2;
              ^
0_0_32161783_7918.cpp:29:18: error: 'b1' was not declared in this scope
         cin>>k1>>b1>>k2;
                  ^
0_0_32161783_7918.cpp:29:22: error: 'k2' was not declared in this scope
         cin>>k1>>b1>>k2;
                      ^


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-09-29 05:01:24, Gzip enabled