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_18449968_30188.cpp:4:11: error: too many decimal points in number
  tr:array[0..1000000,'a'..'z'] of int64;
           ^
0_0_18449968_30188.cpp:5:10: error: too many decimal points in number
  s:array[0..1000000] of string[10];
          ^
0_0_18449968_30188.cpp:6:15: error: too many decimal points in number
  ed,sum:array[0..1000000] of int64;
               ^
0_0_18449968_30188.cpp:45:14: error: empty character constant
  while s[n]<>'' do
              ^
0_0_18449968_30188.cpp:1:1: error: 'var' does not name a type
 var
 ^
0_0_18449968_30188.cpp:3:2: error: 'n' does not name a type
  n,now,cnt,tmp:int64;
  ^
0_0_18449968_30188.cpp:4:4: error: found ':' in nested-name-specifier, expected '::'
  tr:array[0..1000000,'a'..'z'] of int64;
    ^
0_0_18449968_30188.cpp:4:2: error: 'tr' does not name a type
  tr:array[0..1000000,'a'..'z'] of int64;
  ^
0_0_18449968_30188.cpp:5:3: error: found ':' in nested-name-specifier, expected '::'
  s:array[0..1000000] of string[10];
   ^
0_0_18449968_30188.cpp:5:2: error: 's' does not name a type
  s:array[0..1000000] of string[10];
  ^
0_0_18449968_30188.cpp:6:2: error: 'ed' does not name a type
  ed,sum:array[0..1000000] of int64;
  ^
0_0_18449968_30188.cpp:7:4: error: found ':' in nested-name-specifier, expected '::'
  s1:string;
    ^
0_0_18449968_30188.cpp:7:2: error: 's1' does not name a type
  s1:string;
  ^
0_0_18449968_30188.cpp:8:1: error: 'procedure' does not name a type
 procedure add;
 ^
0_0_18449968_30188.cpp:9:1: error: 'var' does not name a type
 var
 ^
0_0_18449968_30188.cpp:11:2: error: 'ch' does not name a type
  ch:char;
  ^
0_0_18449968_30188.cpp:12:1: error: 'begin' does not name a type
 begin
 ^
0_0_18449968_30188.cpp:14:2: error: 'now' does not name a type
  now:=0;
  ^
0_0_18449968_30188.cpp:15:2: error: expected unqualified-id before 'for'
  for i:=1 to n do
  ^
0_0_18449968_30188.cpp:18:3: error: expected unqualified-id before 'if'
   if tr[now,ch]=0 then
   ^
0_0_18449968_30188.cpp:21:4: error: 'tr' does not name a type
    tr[now,ch]:=cnt;
    ^
0_0_18449968_30188.cpp:22:3: error: 'end' does not name a type
   end;
   ^
0_0_18449968_30188.cpp:23:3: error: 'now' does not name a type
   now:=tr[now,ch];
   ^
0_0_18449968_30188.cpp:24:2: error: 'end' does not name a type
  end;
  ^
0_0_18449968_30188.cpp:25:2: error: 'ed' does not name a type
  ed[now]:=tmp;
  ^
0_0_18449968_30188.cpp:26:1: error: 'end' does not name a type
 end;
 ^
0_0_18449968_30188.cpp:27:1: error: 'procedure' does not name a type
 procedure query;
 ^
0_0_18449968_30188.cpp:28:1: error: 'var' does not name a type
 var
 ^
0_0_18449968_30188.cpp:30:2: error: 'ch' does not name a type
  ch:char;
  ^
0_0_18449968_30188.cpp:31:1: error: 'begin' does not name a type
 begin
 ^
0_0_18449968_30188.cpp:33:2: error: 'now' does not name a type
  now:=0;
  ^
0_0_18449968_30188.cpp:34:2: error: expected unqualified-id before 'for'
  for j:=1 to n do
  ^
0_0_18449968_30188.cpp:37:3: error: expected unqualified-id before 'if'
   if tr[now,ch]=0 then break;
   ^
0_0_18449968_30188.cpp:38:3: error: 'now' does not name a type
   now:=tr[now,ch];
   ^
0_0_18449968_30188.cpp:39:3: error: expected unqualified-id before 'if'
   if ed[now]>0 then inc(sum[ed[now]]);
   ^
0_0_18449968_30188.cpp:40:2: error: 'end' does not name a type
  end;
  ^
0_0_18449968_30188.cpp:41:1: error: 'end' does not name a type
 end;
 ^
0_0_18449968_30188.cpp:42:1: error: 'begin' does not name a type
 begin
 ^
0_0_18449968_30188.cpp:44:2: error: 'n' does not name a type
  n:=1;
  ^
0_0_18449968_30188.cpp:45:2: error: expected unqualified-id before 'while'
  while s[n]<>'' do
  ^
0_0_18449968_30188.cpp:48:9: error: expected constructor, destructor, or type conversion before '(' token
   readln(s[n]);
         ^
0_0_18449968_30188.cpp:49:2: error: 'end' does not name a type
  end;
  ^
0_0_18449968_30188.cpp:50:5: error: expected constructor, destructor, or type conversion before '(' token
  dec(n);
     ^
0_0_18449968_30188.cpp:51:2: error: expected unqualified-id before 'while'
  while not eof do
  ^
0_0_18449968_30188.cpp:54:9: error: expected constructor, destructor, or type conversion before '(' token
   readln(S1);
         ^
0_0_18449968_30188.cpp:55:3: error: 'add' does not name a type
   add;
   ^
0_0_18449968_30188.cpp:56:2: error: 'end' does not name a type
  end;
  ^
0_0_18449968_30188.cpp:57:2: error: expected unqualified-id before 'for'
  for i:=1 to n do query;
  ^
0_0_18449968_30188.cpp:58:2: error: expected unqualified-id before 'for'
  for i:=1 to tmp do writeln(Sum[i]);
  ^
0_0_18449968_30188.cpp:59: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-12-01 14:19:30, Gzip enabled