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_28203612_5412.cpp:1:17: error: too many decimal points in number
 var a,b,c:array[0..1001]of longint;
                 ^
0_0_28203612_5412.cpp:1:1: error: 'var' does not name a type
 var a,b,c:array[0..1001]of longint;
 ^
0_0_28203612_5412.cpp:2:1: error: 'n' does not name a type
 n,i,j,t,max:longint;
 ^
0_0_28203612_5412.cpp:3:2: error: found ':' in nested-name-specifier, expected '::'
 f:boolean;
  ^
0_0_28203612_5412.cpp:3:1: error: 'f' does not name a type
 f:boolean;
 ^
0_0_28203612_5412.cpp:4:1: error: 'begin' does not name a type
 begin
 ^
0_0_28203612_5412.cpp:6:1: error: expected unqualified-id before 'while'
 while n>0do
 ^
0_0_28203612_5412.cpp:9:3: error: 'max' does not name a type
   max:=0;
   ^
0_0_28203612_5412.cpp:10:11: error: expected constructor, destructor, or type conversion before '(' token
   fillchar(b,sizeof(b),0);
           ^
0_0_28203612_5412.cpp:11:11: error: expected constructor, destructor, or type conversion before '(' token
   fillchar(c,sizeof(c),0);
           ^
0_0_28203612_5412.cpp:12:3: error: expected unqualified-id before 'for'
   for i:=1 to n do read(a[i]);
   ^
0_0_28203612_5412.cpp:13:3: error: expected unqualified-id before 'for'
   for i:=1 to n do
   ^
0_0_28203612_5412.cpp:16:5: error: expected unqualified-id before 'for'
     for j:=1 to t do
     ^
0_0_28203612_5412.cpp:20:9: error: 'b' does not name a type
         b[j]:=a[i];
         ^
0_0_28203612_5412.cpp:21:9: error: 'c' does not name a type
         c[j]:=c[j]+a[i];
         ^
0_0_28203612_5412.cpp:22:9: error: expected unqualified-id before 'if'
         if max<c[j]then max:=c[j];
         ^
0_0_28203612_5412.cpp:23:9: error: expected unqualified-id before 'break'
         break;
         ^
0_0_28203612_5412.cpp:24:9: error: 'end' does not name a type
         end;
         ^
0_0_28203612_5412.cpp:25:5: error: expected unqualified-id before 'if'
     if f then
     ^
0_0_28203612_5412.cpp:28:7: error: 'b' does not name a type
       b[t]:=a[i];
       ^
0_0_28203612_5412.cpp:29:7: error: 'c' does not name a type
       c[t]:=a[i];
       ^
0_0_28203612_5412.cpp:30:7: error: expected unqualified-id before 'if'
       if max<c[t]then max:=c[t];
       ^
0_0_28203612_5412.cpp:31:7: error: 'end' does not name a type
       end;
       ^
0_0_28203612_5412.cpp:32:5: error: 'end' does not name a type
     end;
     ^
0_0_28203612_5412.cpp:33:10: error: expected constructor, destructor, or type conversion before '(' token
   writeln(max);
          ^
0_0_28203612_5412.cpp:34:7: error: expected constructor, destructor, or type conversion before '(' token
   read(n);
       ^
0_0_28203612_5412.cpp:35:3: error: 'end' does not name a type
   end;
   ^
0_0_28203612_5412.cpp:36:1: error: 'end' does not name a type
 end.
 ^


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-27 00:03:43, Gzip enabled