0_0_18194575_1823.cpp:3:12: error: too many decimal points in number
dp:array[0..100000,-1..11] of longint;
^
0_0_18194575_1823.cpp:3:23: error: too many decimal points in number
dp:array[0..100000,-1..11] of longint;
^
0_0_18194575_1823.cpp:1:1: error: 'var' does not name a type
var
^
0_0_18194575_1823.cpp:3:5: error: found ':' in nested-name-specifier, expected '::'
dp:array[0..100000,-1..11] of longint;
^
0_0_18194575_1823.cpp:3:3: error: 'dp' does not name a type
dp:array[0..100000,-1..11] of longint;
^
0_0_18194575_1823.cpp:5:1: error: 'function' does not name a type
function max(c,d:longint):longint;
^
0_0_18194575_1823.cpp:6:1: error: 'begin' does not name a type
begin
^
0_0_18194575_1823.cpp:8:1: error: 'end' does not name a type
end;
^
0_0_18194575_1823.cpp:10:1: error: 'begin' does not name a type
begin
^
0_0_18194575_1823.cpp:14:7: error: expected unqualified-id before 'if'
if n=0 then break;
^
0_0_18194575_1823.cpp:15:15: error: expected constructor, destructor, or type conversion before '(' token
fillchar(dp,sizeof(dp),0);m:=0;
^
0_0_18194575_1823.cpp:15:33: error: 'm' does not name a type
fillchar(dp,sizeof(dp),0);m:=0;
^
0_0_18194575_1823.cpp:16:7: error: expected unqualified-id before 'for'
for i:=1 to n do
^
0_0_18194575_1823.cpp:19:11: error: 'dp' does not name a type
dp[b,a]:=dp[b,a]+1;
^
0_0_18194575_1823.cpp:20:11: error: 'm' does not name a type
m:=max(b,m);
^
0_0_18194575_1823.cpp:21:9: error: 'end' does not name a type
end;
^
0_0_18194575_1823.cpp:22:7: error: expected unqualified-id before 'for'
for i:=m-1 downto 0 do
^
0_0_18194575_1823.cpp:25:14: error: expected constructor, destructor, or type conversion before '(' token
writeln(dp[0,5]);
^
0_0_18194575_1823.cpp:26:5: error: 'end' does not name a type
end;
^
0_0_18194575_1823.cpp:27:1: error: 'end' does not name a type
end.
^
|