/in/foo.c:1:1: error: unknown type name 'var'
var
^~~
/in/foo.c:2:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
n,m,r,t:real;
^
/in/foo.c:3:1: error: unknown type name 'begin'
begin
^~~~~
/in/foo.c:4:3: warning: parameter names (without types) in function declaration
readln(m,n,r);
^~~~~~
/in/foo.c:5:3: error: expected identifier or '(' before 'if'
if m-n>0 then
^~
/in/foo.c:8:16: error: expected ')' before ':' token
writeln(t:0:3);
^
/in/foo.c:10:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'else'
else
^~~~
/in/foo.c:12:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
end.
^