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_16920542_18187.cpp:5:1: error: 'LL' does not name a type
 LL m[20],a[20];
 ^
0_0_16920542_18187.cpp:6:1: error: 'LL' does not name a type
 LL exgcd(LL m,LL n,LL &x,LL &y)
 ^
0_0_16920542_18187.cpp:24:1: error: 'LL' does not name a type
 LL china(LL m[],LL a[],LL n)
 ^
0_0_16920542_18187.cpp: In function 'int main()':
0_0_16920542_18187.cpp:41:5: error: 'LL' was not declared in this scope
     LL n,ai;
     ^
0_0_16920542_18187.cpp:42:17: error: 'n' was not declared in this scope
     while (cin>>n>>ai)
                 ^
0_0_16920542_18187.cpp:42:20: error: 'ai' was not declared in this scope
     while (cin>>n>>ai)
                    ^
0_0_16920542_18187.cpp:46:18: error: 'm' was not declared in this scope
             cin>>m[i];
                  ^
0_0_16920542_18187.cpp:47:13: error: 'a' was not declared in this scope
             a[i]=m[i]-ai;
             ^
0_0_16920542_18187.cpp:49:12: error: expected ';' before 'ans'
         LL ans;
            ^
0_0_16920542_18187.cpp:50:9: error: 'ans' was not declared in this scope
         ans=china(m,a,n);
         ^
0_0_16920542_18187.cpp:50:19: error: 'm' was not declared in this scope
         ans=china(m,a,n);
                   ^
0_0_16920542_18187.cpp:50:21: error: 'a' was not declared in this scope
         ans=china(m,a,n);
                     ^
0_0_16920542_18187.cpp:50:24: error: 'china' was not declared in this scope
         ans=china(m,a,n);
                        ^


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-12-02 06:27:45, Gzip enabled