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_27633930_28447.cpp:7:1: error: 'll' does not name a type
 ll b[20000];
 ^
0_0_27633930_28447.cpp:8:1: error: 'll' does not name a type
 ll powermod( unsigned ll a, unsigned ll n, unsigned ll k)
 ^
0_0_27633930_28447.cpp: In function 'int main()':
0_0_27633930_28447.cpp:23:2: error: 'll' was not declared in this scope
  ll mm=1000000007;
  ^
0_0_27633930_28447.cpp:25:6: error: expected ';' before 'num'
   ll num,t,val,k;
      ^
0_0_27633930_28447.cpp:28:7: error: 'num' was not declared in this scope
  cin>>num>>t>>k;
       ^
0_0_27633930_28447.cpp:28:12: error: 't' was not declared in this scope
  cin>>num>>t>>k;
            ^
0_0_27633930_28447.cpp:28:15: error: 'k' was not declared in this scope
  cin>>num>>t>>k;
               ^
0_0_27633930_28447.cpp:29:8: error: expected ';' before 'tmp'
     ll tmp= powermod(k,t,mm);
        ^
0_0_27633930_28447.cpp:31:8: error: 'val' was not declared in this scope
   cin>>val;
        ^
0_0_27633930_28447.cpp:32:3: error: 'b' was not declared in this scope
   b[(i+t)%num]=val*tmp%mm;
   ^
0_0_27633930_28447.cpp:32:20: error: 'tmp' was not declared in this scope
   b[(i+t)%num]=val*tmp%mm;
                    ^
0_0_27633930_28447.cpp:32:24: error: 'mm' was not declared in this scope
   b[(i+t)%num]=val*tmp%mm;
                        ^
0_0_27633930_28447.cpp:36:9: error: 'b' was not declared in this scope
   cout<<b[i];
         ^


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-23 10:15:40, Gzip enabled