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_32799965_31938.cpp: In function 'int main()':
0_0_32799965_31938.cpp:19:5: error: 'LL' was not declared in this scope
     LL x,m,k,c;
     ^
0_0_32799965_31938.cpp:24:14: error: 'x' was not declared in this scope
         cin>>x>>m>>k>>c;
              ^
0_0_32799965_31938.cpp:24:17: error: 'm' was not declared in this scope
         cin>>x>>m>>k>>c;
                 ^
0_0_32799965_31938.cpp:24:20: error: 'k' was not declared in this scope
         cin>>x>>m>>k>>c;
                    ^
0_0_32799965_31938.cpp:24:23: error: 'c' was not declared in this scope
         cin>>x>>m>>k>>c;
                       ^
0_0_32799965_31938.cpp:26:12: error: expected ';' before 'mod'
         LL mod = 9*k;
            ^
0_0_32799965_31938.cpp:27:12: error: expected ';' before 'ans'
         LL ans = ((pow_mod(10,m,mod)-1)*x%mod+mod)%mod;
            ^
0_0_32799965_31938.cpp:28:12: error: 'ans' was not declared in this scope
         if(ans==9*c%mod){
            ^
0_0_32799965_31938.cpp:28:21: error: 'mod' was not declared in this scope
         if(ans==9*c%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-16 14:19:59, Gzip enabled