foo.cc:5:10: error: too many decimal points in number
5 | dp:array[1..2,0..3000] of longint;
| ^~~~
foo.cc:5:15: error: too many decimal points in number
5 | dp:array[1..2,0..3000] of longint;
| ^~~~~~~
foo.cc:1:1: error: 'program' does not name a type
1 | program p1420;
| ^~~~~~~
foo.cc:3:1: error: 'var' does not name a type
3 | var
| ^~~
foo.cc:7:1: error: 'i' does not name a type
7 | i,j,n,m:longint;
| ^
foo.cc:9:1: error: 'begin' does not name a type
9 | begin
| ^~~~~
foo.cc:13:1: error: expected unqualified-id before 'for'
13 | for i:=0 to m do
| ^~~
foo.cc:17:1: error: 'dp' does not name a type
17 | dp[2,0]:=1;
| ^~
foo.cc:19:1: error: expected unqualified-id before 'for'
19 | for i:=1 to n do
| ^~~
foo.cc:27:1: error: expected unqualified-id before 'for'
27 | for j:=0 to m do
| ^~~
foo.cc:31:1: error: 'end' does not name a type
31 | end;
| ^~~
foo.cc:33:8: error: expected constructor, destructor, or type conversion before '(' token
33 | writeln(dp[2,m]);
| ^
foo.cc:35:1: error: 'end' does not name a type
35 | end.
| ^~~
[Hydro](https://hydro.ac)提供评测服务