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_39353286_1216.cpp: In function 'void solve()':
0_0_39353286_1216.cpp:22:17: error: 'iLL' was not declared in this scope; did you mean 'LL'?
   22 |                 iLL a[n + 10],b[n + 10];
      |                 ^~~
      |                 LL
0_0_39353286_1216.cpp:24:45: error: 'a' was not declared in this scope
   24 |                 for(i = 0;i < n;i++) cin >> a[i];
      |                                             ^
0_0_39353286_1216.cpp:30:29: error: 'a' was not declared in this scope
   30 |                 temp1 = lcm(a[0],a[1]);
      |                             ^
0_0_39353286_1216.cpp:33:25: error: 'b' was not declared in this scope
   33 |                         b[i] = temp1 / a[i];
      |                         ^
0_0_39353286_1216.cpp:38:54: error: 'b' was not declared in this scope
   38 |                         for(i = 0;i < n;i++) cout << b[i] * (m / sum2) << " ";
      |                                                      ^


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-07-02 16:34:27, Gzip enabled