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_25047110_26539.cpp: In function 'int main()':
0_0_25047110_26539.cpp:16:4: error: '_int64' was not declared in this scope
    _int64 max=0;
    ^
0_0_25047110_26539.cpp:20:10: error: 'max' was not declared in this scope
     if(a[max]<a[i])
          ^
0_0_25047110_26539.cpp:23:11: error: expected ';' before 'sum'
    _int64 sum=0;
           ^
0_0_25047110_26539.cpp:26:11: error: 'max' was not declared in this scope
     if(i!=max)
           ^
0_0_25047110_26539.cpp:27:5: error: 'sum' was not declared in this scope
     sum=sum+a[i];
     ^
0_0_25047110_26539.cpp:31:9: error: 'max' was not declared in this scope
    if(a[max]<=sum)
         ^
0_0_25047110_26539.cpp:31:15: error: 'sum' was not declared in this scope
    if(a[max]<=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-11-19 12:29:09, Gzip enabled