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_21438548_4915.cpp:1:1: error: 'LL' does not name a type
 LL pow_mod(LL a,LL b,LL n){
 ^
0_0_21438548_4915.cpp: In function 'int main()':
0_0_21438548_4915.cpp:11:5: error: 'LL' was not declared in this scope
     LL a,b;
     ^
0_0_21438548_4915.cpp:13:11: error: 'cin' was not declared in this scope
     while(cin>>a>>b){
           ^
0_0_21438548_4915.cpp:13:16: error: 'a' was not declared in this scope
     while(cin>>a>>b){
                ^
0_0_21438548_4915.cpp:13:19: error: 'b' was not declared in this scope
     while(cin>>a>>b){
                   ^
0_0_21438548_4915.cpp:14:9: error: 'cout' was not declared in this scope
         cout<<"Case #"<<++t<<": "<<pow_mod(a%mod,b,mod)<<endl;
         ^
0_0_21438548_4915.cpp:14:46: error: 'mod' was not declared in this scope
         cout<<"Case #"<<++t<<": "<<pow_mod(a%mod,b,mod)<<endl;
                                              ^
0_0_21438548_4915.cpp:14:55: error: 'pow_mod' was not declared in this scope
         cout<<"Case #"<<++t<<": "<<pow_mod(a%mod,b,mod)<<endl;
                                                       ^
0_0_21438548_4915.cpp:14:58: error: 'endl' was not declared in this scope
         cout<<"Case #"<<++t<<": "<<pow_mod(a%mod,b,mod)<<endl;
                                                          ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 11:52:56, Gzip enabled