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_15809680_15378.cpp:5:1: error: 'LL' does not name a type
 LL  a[1001];
 ^
0_0_15809680_15378.cpp: In function 'int main()':
0_0_15809680_15378.cpp:12:16: error: 'a' was not declared in this scope
         memset(a,0,sizeof(a));
                ^
0_0_15809680_15378.cpp:25:13: error: 'LL' was not declared in this scope
             LL  res=a[1];
             ^
0_0_15809680_15378.cpp:26:16: error: expected ';' before 'endx'
             LL endx=0;
                ^
0_0_15809680_15378.cpp:29:20: error: 'endx' was not declared in this scope
                 if(endx>=0)
                    ^
0_0_15809680_15378.cpp:33:17: error: 'res' was not declared in this scope
                 res=max(res,endx);
                 ^
0_0_15809680_15378.cpp:33:29: error: 'endx' was not declared in this scope
                 res=max(res,endx);
                             ^
0_0_15809680_15378.cpp:37:17: error: 'res' was not declared in this scope
             ans=res>ans?res:ans;
                 ^


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-26 13:41:19, Gzip enabled