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_29469530_8404.cpp: In function 'int main()':
0_0_29469530_8404.cpp:13:16: error: 'a' was not declared in this scope
 scanf("%I64d",&a[i]);        
                ^
0_0_29469530_8404.cpp:17:14: error: 'a' was not declared in this scope
 while(L<=R&&!a[L]) L++;            
              ^
0_0_29469530_8404.cpp:19:14: error: 'a' was not declared in this scope
 while(R>=L&&!a[R]) R--;           
              ^
0_0_29469530_8404.cpp:23:5: error: 'a' was not declared in this scope
  if(a[i]<a[i+1]) small=1;               
     ^
0_0_29469530_8404.cpp:25:5: error: 'a' was not declared in this scope
  if(a[i]>a[i+1]) big=1;            }            
     ^
0_0_29469530_8404.cpp:32:2: error: 'a' was not declared in this scope
  a[i]=a[i+1]-a[i];            
  ^


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-27 02:16:11, Gzip enabled