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_15315532_22509.cpp:2:9: error: too many decimal points in number
 u:array[0..1000,0..1000] of longint;
         ^
0_0_15315532_22509.cpp:2:17: error: too many decimal points in number
 u:array[0..1000,0..1000] of longint;
                 ^
0_0_15315532_22509.cpp:1:1: error: 'var' does not name a type
 var
 ^
0_0_15315532_22509.cpp:3:1: error: 'n' does not name a type
 n,k,max,a,b:longint;
 ^
0_0_15315532_22509.cpp:4:2: error: found ':' in nested-name-specifier, expected '::'
 s:string;
  ^
0_0_15315532_22509.cpp:4:1: error: 's' does not name a type
 s:string;
 ^
0_0_15315532_22509.cpp:5:1: error: 'begin' does not name a type
 begin
 ^
0_0_15315532_22509.cpp:8:15: error: 'max' does not name a type
   readln(n,k);max:=0;
               ^
0_0_15315532_22509.cpp:9:3: error: expected unqualified-id before 'for'
   for a:=1 to n do
   ^
0_0_15315532_22509.cpp:12:4: error: expected unqualified-id before 'if'
    if length(s)>max then max:=length(s);
    ^
0_0_15315532_22509.cpp:13:4: error: expected unqualified-id before 'for'
    for b:=length(s) downto 1 do
    ^
0_0_15315532_22509.cpp:16:5: error: expected unqualified-id before '0'
     '0'..'9':val(s[b],u[length(s)-b+1,a]);
     ^
0_0_15315532_22509.cpp:17:4: error: 'end' does not name a type
    end;
    ^
0_0_15315532_22509.cpp:18:3: error: 'end' does not name a type
   end;
   ^
0_0_15315532_22509.cpp:19:3: error: expected unqualified-id before 'for'
   for a:=1 to max do
   ^
0_0_15315532_22509.cpp:23:4: error: 'u' does not name a type
    u[a,0]:=u[a,0] mod k;
    ^
0_0_15315532_22509.cpp:24:3: error: 'end' does not name a type
   end;
   ^
0_0_15315532_22509.cpp:25:3: error: expected unqualified-id before 'for'
   for a:=max downto 1 do
   ^
0_0_15315532_22509.cpp:26:17: error: 'writeln' does not name a type
   write(u[a,0]);writeln;
                 ^
0_0_15315532_22509.cpp:27:2: error: 'end' does not name a type
  end;
  ^
0_0_15315532_22509.cpp:28: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-06-16 05:18:40, Gzip enabled