/in/foo.c:1:1: error: unknown type name 'program'
program yubikili;
^~~~~~~
/in/foo.c:2:1: error: unknown type name 'var'; did you mean 'char'?
var s:ansistring;
^~~
char
/in/foo.c:2:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
var s:ansistring;
^
/in/foo.c:4:7: warning: data definition has no type or storage class
i,l,n:longint;
^
/in/foo.c:4:7: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int]
/in/foo.c:4:9: warning: type defaults to 'int' in declaration of 'l' [-Wimplicit-int]
i,l,n:longint;
^
/in/foo.c:4:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
i,l,n:longint;
^
/in/foo.c:6:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
a:array[0..10001]of longint;
^
/in/foo.c:6:15: error: too many decimal points in number
a:array[0..10001]of longint;
^~~~~~~~
/in/foo.c:8:1: error: unknown type name 'begin'
begin
^~~~~
/in/foo.c:10:15: warning: character constant too long for its type
assign(input,'yubikili.in');reset(in pu t);
^~~~~~~~~~~~~
/in/foo.c:10:15: error: expected ')' before '\x692e696e'
/in/foo.c:10:36: error: unknown type name 'in'; did you mean 'int'?
assign(input,'yubikili.in');reset(in pu t);
^~
int
/in/foo.c:12:2: error: unknown type name 'assig'
assig n (o utput,'yubikili.out');rew rite(output);
^~~~~
/in/foo.c:12:11: error: unknown type name 'o'
assig n (o utput,'yubikili.out');rew rite(output);
^
/in/foo.c:12:19: warning: character constant too long for its type
assig n (o utput,'yubikili.out');rew rite(output);
^~~~~~~~~~~~~~
/in/foo.c:12:19: error: expected declaration specifiers or '...' before '\x2e6f7574'
/in/foo.c:12:35: error: unknown type name 'rew'
assig n (o utput,'yubikili.out');rew rite(output);
^~~
/in/foo.c:12:19: warning: parameter names (without types) in function declaration
assig n (o utput,'yubikili.out');rew rite(output);
^~~~~~~~~~~~~~
/in/foo.c:14:2: warning: data definition has no type or storage class
readln(n);
^~~~~~
/in/foo.c:14:2: warning: type defaults to 'int' in declaration of 'readln' [-Wimplicit-int]
/in/foo.c:14:2: warning: parameter names (without types) in function declaration
/in/foo.c:16:2: warning: data definition has no type or storage class
readln (s);
^~~~~~
/in/foo.c:16:2: warning: type defaults to 'int' in declaration of 'readln' [-Wimplicit-int]
/in/foo.c:16:2: warning: parameter names (without types) in function declaration
/in/foo.c:18:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
l:=length(s);
^
/in/foo.c:20:2: error: expected identifier or '(' before 'for'
for i:= 1 to l do val(s[i],a[l- i+1]);
^~~
/in/foo.c:22:2: error: expected identifier or '(' before 'for'
for i:=l down to 1 do begin
^~~
/in/foo.c:26:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
a[i- 1 ]:=a[i ]*10+a[i-1];
^
/in/foo.c:28:2: warning: data definition has no type or storage class
end;
^~~
/in/foo.c:28:2: warning: type defaults to 'int' in declaration of 'end' [-Wimplicit-int]
/in/foo.c:30:10: error: unknown type name 'a'
writeln(a [1]);
^
/in/foo.c:32:2: warning: data definition has no type or storage class
close(input); close(o utput);
^~~~~
/in/foo.c:32:2: warning: type defaults to 'int' in declaration of 'close' [-Wimplicit-int]
/in/foo.c:32:2: warning: parameter names (without types) in function declaration
/in/foo.c:32:22: error: unknown type name 'o'
close(input); close(o utput);
^
/in/foo.c:34:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
end.
^