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_30844782_25792.cpp:4:1: error: 'll' does not name a type
 ll a[maxn],b[maxn];
 ^
0_0_30844782_25792.cpp: In function 'int main()':
0_0_30844782_25792.cpp:14:27: error: 'a' was not declared in this scope
             scanf("%lld",&a[i]);
                           ^
0_0_30844782_25792.cpp:16:27: error: 'b' was not declared in this scope
             scanf("%lld",&b[i]);
                           ^
0_0_30844782_25792.cpp:18:9: error: 'll' was not declared in this scope
         ll now1=b[n];
         ^
0_0_30844782_25792.cpp:19:12: error: expected ';' before 'now2'
         ll now2=a[n];
            ^
0_0_30844782_25792.cpp:20:12: error: expected ';' before 'gcd'
         ll gcd=__gcd(now1,now2);
            ^
0_0_30844782_25792.cpp:21:13: error: 'now1' was not declared in this scope
             now1/=gcd;
             ^
0_0_30844782_25792.cpp:21:19: error: 'gcd' was not declared in this scope
             now1/=gcd;
                   ^
0_0_30844782_25792.cpp:22:13: error: 'now2' was not declared in this scope
             now2/=gcd;
             ^
0_0_30844782_25792.cpp:25:16: error: expected ';' before 'gcd'
             ll gcd=__gcd(now1,now2);
                ^
0_0_30844782_25792.cpp:28:13: error: 'b' was not declared in this scope
             b[pre]*=now2,a[pre]*=now2;
             ^
0_0_30844782_25792.cpp:28:26: error: 'a' was not declared in this scope
             b[pre]*=now2,a[pre]*=now2;
                          ^


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-03 22:10:31, Gzip enabled