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_29845890_4675.cpp:11:9: error: 'LL' was not declared in this scope
 int lcm(LL a,LL b)
         ^
0_0_29845890_4675.cpp:11:14: error: 'LL' was not declared in this scope
 int lcm(LL a,LL b)
              ^
0_0_29845890_4675.cpp:11:18: error: expression list treated as compound expression in initializer [-fpermissive]
 int lcm(LL a,LL b)
                  ^
0_0_29845890_4675.cpp:12:2: error: expected ',' or ';' before '{' token
  {
  ^
0_0_29845890_4675.cpp: In function 'int main()':
0_0_29845890_4675.cpp:22:25: error: 'z' was not declared in this scope
               b=lcm(max(z,a[i]),min(z,a[i]));
                         ^
0_0_29845890_4675.cpp:22:44: error: 'lcm' cannot be used as a function
               b=lcm(max(z,a[i]),min(z,a[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 11:07:15, Gzip enabled