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_17786612_18623.cpp: In function 'int main()':
0_0_17786612_18623.cpp:4:2: error: '_int64' was not declared in this scope
  _int64 n;
  ^
0_0_17786612_18623.cpp:6:9: error: expected ';' before 'k'
  _int64 k;
         ^
0_0_17786612_18623.cpp:7:9: error: expected ';' before 's'
  _int64 s[10005];
         ^
0_0_17786612_18623.cpp:9:9: error: expected ';' before 'max'
  _int64 max;
         ^
0_0_17786612_18623.cpp:11:3: error: 'k' was not declared in this scope
   k=i;
   ^
0_0_17786612_18623.cpp:14:3: error: 's' was not declared in this scope
   s[i]=k;
   ^
0_0_17786612_18623.cpp:16:23: error: 'n' was not declared in this scope
  while(scanf("%I64d",&n)!=EOF){
                       ^
0_0_17786612_18623.cpp:22:3: error: 'max' was not declared in this scope
   max=0;
   ^
0_0_17786612_18623.cpp:24:12: error: 's' was not declared in this scope
    max=max+s[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-11-18 13:41:30, Gzip enabled