/in/foo.cc:3:16: error: too many decimal points in number
r,name:array[1..100]of string;
^~~~~~
/in/foo.cc:4:22: error: too many decimal points in number
qmcj,bjpy,lw:array[1..100]of longint;
^~~~~~
/in/foo.cc:5:15: error: too many decimal points in number
gb,xb:array[1..100]of boolean;
^~~~~~
/in/foo.cc:6:11: error: too many decimal points in number
s:array[1..100]of longint;
^~~~~~
/in/foo.cc:1:1: error: 'var' does not name a type
var
^~~
/in/foo.cc:3:3: error: 'r' does not name a type
r,name:array[1..100]of string;
^
/in/foo.cc:4:3: error: 'qmcj' does not name a type
qmcj,bjpy,lw:array[1..100]of longint;
^~~~
/in/foo.cc:5:3: error: 'gb' does not name a type
gb,xb:array[1..100]of boolean;
^~
/in/foo.cc:6:4: error: found ':' in nested-name-specifier, expected '::'
s:array[1..100]of longint;
^
/in/foo.cc:6:3: error: 's' does not name a type
s:array[1..100]of longint;
^
/in/foo.cc:7:8: error: found ':' in nested-name-specifier, expected '::'
name2:string;
^
/in/foo.cc:7:3: error: 'name2' does not name a type
name2:string;
^~~~~
/in/foo.cc:8:1: error: 'begin' does not name a type
begin
^~~~~
/in/foo.cc:10:3: error: expected unqualified-id before 'for'
for i:=1 to n do
^~~
/in/foo.cc:12:3: error: expected unqualified-id before 'for'
for i:=1 to n do
^~~
/in/foo.cc:15:7: error: expected unqualified-id before 'for'
for j:=1 to length(r[i]) do
^~~
/in/foo.cc:26:27: error: 'qmcj' does not name a type
qmcj[i]:=qmcj[i]*10+f;
^~~~
/in/foo.cc:27:25: error: 'end' does not name a type
end
^~~
/in/foo.cc:32:33: error: 'bjpy' does not name a type
bjpy[i]:=bjpy[i]*10+f;
^~~~
/in/foo.cc:33:31: error: 'end' does not name a type
end
^~~
/in/foo.cc:41:37: error: 'end' does not name a type
end
^~~
/in/foo.cc:49:43: error: 'end' does not name a type
end
^~~
/in/foo.cc:52:9: error: 'end' does not name a type
end;
^~~
/in/foo.cc:53:7: error: 'end' does not name a type
end;
^~~
/in/foo.cc:54:3: error: expected unqualified-id before 'for'
for i:=1 to n do
^~~
/in/foo.cc:57:7: error: expected unqualified-id before 'if'
if (lw[i]>=1)and(qmcj[i]>80) then s[i]:=s[i]+8000;
^~
/in/foo.cc:58:7: error: expected unqualified-id before 'if'
if (bjpy[i]>80)and(gb[i]=true) then s[i]:=s[i]+850;
^~
/in/foo.cc:59:7: error: expected unqualified-id before 'if'
if (bjpy[i]>80)and(qmcj[i]>85) then s[i]:=s[i]+4000;
^~
/in/foo.cc:60:7: error: expected unqualified-id before 'if'
if (qmcj[i]>90) then s[i]:=s[i]+2000;
^~
/in/foo.cc:61:5: error: 'end' does not name a type
end;
^~~
/in/foo.cc:62:3: error: expected unqualified-id before 'for'
for i:=1 to n do
^~~
/in/foo.cc:67:11: error: 'name2' does not name a type
name2:=name[i];
^~~~~
/in/foo.cc:68:9: error: 'end' does not name a type
end;
^~~
/in/foo.cc:69:7: error: 'e' does not name a type
e:=e+s[i];
^
/in/foo.cc:70:5: error: 'end' does not name a type
end;
^~~
/in/foo.cc:71:10: error: expected constructor, destructor, or type conversion before '(' token
writeln(name2);
^
/in/foo.cc:72:10: error: expected constructor, destructor, or type conversion before '(' token
writeln(l);
^
/in/foo.cc:73:10: error: expected constructor, destructor, or type conversion before '(' token
writeln(e);
^
/in/foo.cc:74:1: error: 'end' does not name a type
end.
^~~