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_19919077_20011.cpp: In function 'int main()':
0_0_19919077_20011.cpp:5:12: error: expected ';' before 'long'
 #define LL long long
            ^
0_0_19919077_20011.cpp:28:2: note: in expansion of macro 'LL'
  LL i,j,k,b,c,d,ans=0,min;
  ^
0_0_19919077_20011.cpp:29:6: error: 'i' was not declared in this scope
  for(i=1;i<=n;i++)
      ^
0_0_19919077_20011.cpp:31:6: error: 'i' was not declared in this scope
  for(i=n;i>=1;i--)
      ^
0_0_19919077_20011.cpp:33:3: error: 'ans' was not declared in this scope
   ans+=qu(a[i]);
   ^
0_0_19919077_20011.cpp:36:9: error: 'ans' was not declared in this scope
     min=ans;
         ^
0_0_19919077_20011.cpp:37:9: error: 'i' was not declared in this scope
     for(i=1;i<n;i++)
         ^
0_0_19919077_20011.cpp:43:21: error: overloaded function with no contextual type information
  printf("%lld\n",min);
                     ^


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-16 13:27:09, Gzip enabled