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_22309040_4237.cpp: In function 'int main()':
0_0_22309040_4237.cpp:22:2: error: '_int64' was not declared in this scope
  _int64 n;
  ^
0_0_22309040_4237.cpp:23:25: error: 'n' was not declared in this scope
  while (scanf("%I64d", &n) != EOF)
                         ^
0_0_22309040_4237.cpp:32:10: error: expected ';' before 'sum'
   _int64 sum = a[0].per;
          ^
0_0_22309040_4237.cpp:41:6: error: 'sum' was not declared in this scope
      sum += (a[j].numbers / a[j].per)*(a[i].per+a[j].per) ;
      ^
0_0_22309040_4237.cpp:48:6: error: 'sum' was not declared in this scope
      sum += (a[i].numbers / a[i].per)*(a[j].per+a[i].per);
      ^
0_0_22309040_4237.cpp:55:21: error: 'sum' was not declared in this scope
   printf("%I64d\n", sum);
                     ^


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 03:55:58, Gzip enabled