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_13789356_4413.cpp:3:13: error: too many decimal points in number
     a:array[1..1010] of ansistring;
             ^
0_0_13789356_4413.cpp:11:9: error: empty character constant
   a[i]:='';
         ^
0_0_13789356_4413.cpp:1:1: error: 'program' does not name a type
 program jiemi;
 ^
0_0_13789356_4413.cpp:2:1: error: 'var' does not name a type
 var str,t:ansistring;
 ^
0_0_13789356_4413.cpp:3:6: error: found ':' in nested-name-specifier, expected '::'
     a:array[1..1010] of ansistring;
      ^
0_0_13789356_4413.cpp:3:5: error: 'a' does not name a type
     a:array[1..1010] of ansistring;
     ^
0_0_13789356_4413.cpp:4:5: error: 'i' does not name a type
     i,j:longint;
     ^
0_0_13789356_4413.cpp:5:5: error: 'n' does not name a type
     n,b,k,g,c:int64;
     ^
0_0_13789356_4413.cpp:6:5: error: 'p' does not name a type
     p,h:boolean;
     ^
0_0_13789356_4413.cpp:7:1: error: 'begin' does not name a type
 begin
 ^
0_0_13789356_4413.cpp:10:2: error: expected unqualified-id before 'for'
  for i:=1 to 1010 do
  ^
0_0_13789356_4413.cpp:12:2: error: 'b' does not name a type
  b:=length(str);
  ^
0_0_13789356_4413.cpp:13:2: error: 'n' does not name a type
  n:=1;
  ^
0_0_13789356_4413.cpp:14:2: error: 'p' does not name a type
  p:=false;
  ^
0_0_13789356_4413.cpp:15:2: error: 'h' does not name a type
  h:=false;
  ^
0_0_13789356_4413.cpp:16:2: error: expected unqualified-id before 'for'
  for i:=1 to b do
  ^
0_0_13789356_4413.cpp:18:13: error: 'h' does not name a type
    p:=false;h:=false;
             ^
0_0_13789356_4413.cpp:19:4: error: expected unqualified-id before 'if'
    if str[i]='5' then continue
    ^
0_0_13789356_4413.cpp:26:9: error: 'h' does not name a type
         h:=true;
         ^
0_0_13789356_4413.cpp:27:9: error: expected unqualified-id before 'break'
         break;
         ^
0_0_13789356_4413.cpp:28:8: error: 'end' does not name a type
        end;
        ^
0_0_13789356_4413.cpp:29:6: error: expected unqualified-id before 'if'
      if h=false then k:=b+1;
      ^
0_0_13789356_4413.cpp:30:6: error: expected unqualified-id before 'if'
      if str[i]='0' then
      ^
0_0_13789356_4413.cpp:36:12: error: 'g' does not name a type
            g:=j;
            ^
0_0_13789356_4413.cpp:37:12: error: expected unqualified-id before 'break'
            break;
            ^
0_0_13789356_4413.cpp:38:11: error: 'end' does not name a type
           end;
           ^
0_0_13789356_4413.cpp:39:8: error: expected unqualified-id before 'if'
        if p= true then
        ^
0_0_13789356_4413.cpp:44:11: error: 'str' does not name a type
           str[j]:='5';
           ^
0_0_13789356_4413.cpp:45:11: error: 'end' does not name a type
           end;
           ^
0_0_13789356_4413.cpp:46:11: error: 'n' does not name a type
           n:=n+1;
           ^
0_0_13789356_4413.cpp:47:9: error: 'end' does not name a type
         end
         ^
0_0_13789356_4413.cpp:52:9: error: expected unqualified-id before 'if'
         if k-1-g>1 then
         ^
0_0_13789356_4413.cpp:55:12: error: expected unqualified-id before 'for'
            for j:=i to k-1 do
            ^
0_0_13789356_4413.cpp:57:12: error: 'n' does not name a type
            n:=n+1;
            ^
0_0_13789356_4413.cpp:58:11: error: 'end' does not name a type
           end;
           ^
0_0_13789356_4413.cpp:59:9: error: 'end' does not name a type
         end;
         ^
0_0_13789356_4413.cpp:60:7: error: 'end' does not name a type
       end
       ^
0_0_13789356_4413.cpp:66:10: error: 'str' does not name a type
          str[j]:='5';
          ^
0_0_13789356_4413.cpp:67:10: error: 'end' does not name a type
          end;
          ^
0_0_13789356_4413.cpp:68:10: error: 'n' does not name a type
          n:=n+1;
          ^
0_0_13789356_4413.cpp:69:7: error: 'end' does not name a type
       end;
       ^
0_0_13789356_4413.cpp:70:6: error: 'end' does not name a type
      end;
      ^
0_0_13789356_4413.cpp:71:5: error: 'end' does not name a type
     end;
     ^
0_0_13789356_4413.cpp:72:5: error: 'n' does not name a type
     n:=n-1;
     ^
0_0_13789356_4413.cpp:73:4: error: expected unqualified-id before 'for'
    for i:=1 to n do
    ^
0_0_13789356_4413.cpp:76:7: error: expected unqualified-id before 'for'
       for j:=i+1 to n do
       ^
0_0_13789356_4413.cpp:79:9: error: expected unqualified-id before 'if'
         if length(a[c])=length(a[j]) then
         ^
0_0_13789356_4413.cpp:81:9: error: 'end' does not name a type
         end;
         ^
0_0_13789356_4413.cpp:82:7: error: 't' does not name a type
       t:=a[i]; a[i]:=a[c]; a[c]:=t;
       ^
0_0_13789356_4413.cpp:82:16: error: 'a' does not name a type
       t:=a[i]; a[i]:=a[c]; a[c]:=t;
                ^
0_0_13789356_4413.cpp:82:28: error: 'a' does not name a type
       t:=a[i]; a[i]:=a[c]; a[c]:=t;
                            ^
0_0_13789356_4413.cpp:83:6: error: 'end' does not name a type
      end;
      ^
0_0_13789356_4413.cpp:84:4: error: expected unqualified-id before 'for'
    for i:=1 to n-1 do
    ^
0_0_13789356_4413.cpp:86:12: error: expected constructor, destructor, or type conversion before '(' token
     writeln(a[n]);
            ^
0_0_13789356_4413.cpp:87:4: error: 'end' does not name a type
    end; 
    ^
0_0_13789356_4413.cpp:88: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-30 00:53:25, Gzip enabled