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_25456309_21321.cpp:6:10: error: too many decimal points in number
  a:array[1..150,1..150]of longint;
          ^
0_0_25456309_21321.cpp:6:17: error: too many decimal points in number
  a:array[1..150,1..150]of longint;
                 ^
0_0_25456309_21321.cpp:7:14: error: too many decimal points in number
  name_:array[1..150]of string;
              ^
0_0_25456309_21321.cpp:1:1: error: 'program' does not name a type
 program hu;
 ^
0_0_25456309_21321.cpp:2:1: error: 'var' does not name a type
 var
 ^
0_0_25456309_21321.cpp:4:5: error: found ':' in nested-name-specifier, expected '::'
  yes:boolean;
     ^
0_0_25456309_21321.cpp:4:2: error: 'yes' does not name a type
  yes:boolean;
  ^
0_0_25456309_21321.cpp:5:2: error: 'n' does not name a type
  n,m,i,j,x,y,z,k,po:longint;
  ^
0_0_25456309_21321.cpp:6:3: error: found ':' in nested-name-specifier, expected '::'
  a:array[1..150,1..150]of longint;
   ^
0_0_25456309_21321.cpp:6:2: error: 'a' does not name a type
  a:array[1..150,1..150]of longint;
  ^
0_0_25456309_21321.cpp:7:7: error: found ':' in nested-name-specifier, expected '::'
  name_:array[1..150]of string;
       ^
0_0_25456309_21321.cpp:7:2: error: 'name_' does not name a type
  name_:array[1..150]of string;
  ^
0_0_25456309_21321.cpp:8:1: error: 'begin' does not name a type
 begin
 ^
0_0_25456309_21321.cpp:10:2: error: expected unqualified-id before 'while'
  while m<>-1 do
  ^
0_0_25456309_21321.cpp:15:11: error: expected constructor, destructor, or type conversion before '(' token
     readln(st);
           ^
0_0_25456309_21321.cpp:16:5: error: expected unqualified-id before 'while'
     while st[length(st)]=' ' do
     ^
0_0_25456309_21321.cpp:18:5: error: expected unqualified-id before 'while'
     while st[1]=' ' do
     ^
0_0_25456309_21321.cpp:20:5: error: 'po' does not name a type
     po:=pos(' ',st);
     ^
0_0_25456309_21321.cpp:21:5: error: 'name_' does not name a type
     name_[1]:=copy(st,1,po-1);
     ^
0_0_25456309_21321.cpp:22:5: error: 'name_' does not name a type
     name_[2]:=copy(st,po+1,length(st));
     ^
0_0_25456309_21321.cpp:23:5: error: 'n' does not name a type
     n:=2;
     ^
0_0_25456309_21321.cpp:24:5: error: expected unqualified-id before 'for'
     for i:=1 to m do
     ^
0_0_25456309_21321.cpp:27:8: error: expected unqualified-id before 'while'
        while st[length(st)]=' ' do
        ^
0_0_25456309_21321.cpp:29:8: error: expected unqualified-id before 'while'
        while st[1]=' ' do
        ^
0_0_25456309_21321.cpp:31:8: error: 'po' does not name a type
        po:=pos(' ',st);
        ^
0_0_25456309_21321.cpp:32:8: error: 's1' does not name a type
        s1:=copy(st,1,po-1);
        ^
0_0_25456309_21321.cpp:33:8: error: 'yes' does not name a type
        yes:=false;
        ^
0_0_25456309_21321.cpp:34:8: error: expected unqualified-id before 'for'
        for j:=1 to n do
        ^
0_0_25456309_21321.cpp:38:13: error: 'x' does not name a type
             x:=j;
             ^
0_0_25456309_21321.cpp:39:13: error: expected unqualified-id before 'break'
             break;
             ^
0_0_25456309_21321.cpp:40:12: error: 'end' does not name a type
            end;
            ^
0_0_25456309_21321.cpp:41:8: error: expected unqualified-id before 'if'
        if not yes then
        ^
0_0_25456309_21321.cpp:44:11: error: 'x' does not name a type
           x:=n;
           ^
0_0_25456309_21321.cpp:45:11: error: 'name_' does not name a type
           name_[n]:=s1;
           ^
0_0_25456309_21321.cpp:46:10: error: 'end' does not name a type
          end;
          ^
0_0_25456309_21321.cpp:47:8: error: expected unqualified-id before 'delete'
        delete(st,1,po);
        ^
0_0_25456309_21321.cpp:48:8: error: expected unqualified-id before 'while'
        while st[1]=' ' do
        ^
0_0_25456309_21321.cpp:50:8: error: 'po' does not name a type
        po:=pos(' ',st);
        ^
0_0_25456309_21321.cpp:51:8: error: 's1' does not name a type
        s1:=copy(st,1,po-1);
        ^
0_0_25456309_21321.cpp:52:8: error: 'yes' does not name a type
        yes:=false;
        ^
0_0_25456309_21321.cpp:53:8: error: expected unqualified-id before 'for'
        for j:=1 to n do
        ^
0_0_25456309_21321.cpp:57:13: error: 'y' does not name a type
             y:=j;
             ^
0_0_25456309_21321.cpp:58:13: error: expected unqualified-id before 'break'
             break;
             ^
0_0_25456309_21321.cpp:59:12: error: 'end' does not name a type
            end;
            ^
0_0_25456309_21321.cpp:60:8: error: expected unqualified-id before 'if'
        if not yes then
        ^
0_0_25456309_21321.cpp:63:11: error: 'y' does not name a type
           y:=n;
           ^
0_0_25456309_21321.cpp:64:11: error: 'name_' does not name a type
           name_[n]:=s1;
           ^
0_0_25456309_21321.cpp:65:10: error: 'end' does not name a type
          end;
          ^
0_0_25456309_21321.cpp:66:7: error: expected unqualified-id before 'delete'
       delete(st,1,po);
       ^
0_0_25456309_21321.cpp:67:7: error: expected unqualified-id before 'while'
       while st[1]=' ' do
       ^
0_0_25456309_21321.cpp:69:10: error: expected constructor, destructor, or type conversion before '(' token
       val(st,z);
          ^
0_0_25456309_21321.cpp:70:7: error: 'a' does not name a type
       a[x,y]:=z;  
       ^
0_0_25456309_21321.cpp:71:7: error: 'end' does not name a type
       end;
       ^
0_0_25456309_21321.cpp:72:5: error: expected unqualified-id before 'for'
     for k:=1 to n do
     ^
0_0_25456309_21321.cpp:77:5: error: expected unqualified-id before 'if'
     if a[1,2]=999999999 then
     ^
0_0_25456309_21321.cpp:81:11: error: expected constructor, destructor, or type conversion before '(' token
     readln(m);
           ^
0_0_25456309_21321.cpp:82:4: error: 'end' does not name a type
    end;
    ^
0_0_25456309_21321.cpp:83: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-29 20:58:59, Gzip enabled