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_22309066_28766.cpp: In function 'int main()':
0_0_22309066_28766.cpp:24:2: error: '_int64' was not declared in this scope
  _int64 n;
  ^
0_0_22309066_28766.cpp:25:25: error: 'n' was not declared in this scope
  while (scanf("%I64d", &n) != EOF)
                         ^
0_0_22309066_28766.cpp:34:10: error: expected ';' before 'sum'
   _int64 sum = a[0].per;
          ^
0_0_22309066_28766.cpp:43:6: error: 'sum' was not declared in this scope
      sum += (a[j].numbers / a[j].per)*(a[i].per+a[j].per) ;
      ^
0_0_22309066_28766.cpp:50:6: error: 'sum' was not declared in this scope
      sum += (a[i].numbers / a[i].per)*(a[j].per+a[i].per);
      ^
0_0_22309066_28766.cpp:57: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-07-02 13:03:17, Gzip enabled