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_29402908_2270.cpp:6:1: error: '_int64' does not name a type
 _int64 gcd(_int64 a, _int64 b)
 ^
0_0_29402908_2270.cpp: In function 'int main()':
0_0_29402908_2270.cpp:14:2: error: '_int64' was not declared in this scope
  _int64 T;
  ^
0_0_29402908_2270.cpp:16:10: error: 'T' was not declared in this scope
  (cin >> T).get();
          ^
0_0_29402908_2270.cpp:19:10: error: expected ';' before 'result'
   _int64 result = 1;
          ^
0_0_29402908_2270.cpp:23:10: error: expected ';' before 'x'
   _int64 x;
          ^
0_0_29402908_2270.cpp:24:16: error: 'x' was not declared in this scope
   while (ss >> x)
                ^
0_0_29402908_2270.cpp:26:4: error: 'result' was not declared in this scope
    result = result / gcd(result, x)*x;
    ^
0_0_29402908_2270.cpp:26:35: error: 'gcd' was not declared in this scope
    result = result / gcd(result, x)*x;
                                   ^
0_0_29402908_2270.cpp:28:11: error: 'result' was not declared in this scope
   cout << result << endl;
           ^


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-22 21:37:31, Gzip enabled