/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(input);
^~~~~~~~~~~~~
/in/foo.c:10:15: error: expected ')' before '\x692e696e'
/in/foo.c:10:30: warning: data definition has no type or storage class
assign(input,'yubikili.in');reset(input);
^~~~~
/in/foo.c:10:30: warning: type defaults to 'int' in declaration of 'reset' [-Wimplicit-int]
/in/foo.c:10:15: warning: parameter names (without types) in function declaration
assign(input,'yubikili.in');reset(input);
^~~~~~~~~~~~~
/in/foo.c:12:17: warning: character constant too long for its type
assign (output,'yubikili.out');rewrite(output);
^~~~~~~~~~~~~~
/in/foo.c:12:17: error: expected ')' before '\x2e6f7574'
/in/foo.c:12:33: warning: data definition has no type or storage class
assign (output,'yubikili.out');rewrite(output);
^~~~~~~
/in/foo.c:12:33: warning: type defaults to 'int' in declaration of 'rewrite' [-Wimplicit-int]
/in/foo.c:12:17: warning: parameter names (without types) in function declaration
assign (output,'yubikili.out');rewrite(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:9: 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(output);
^~~~~
/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:16: warning: data definition has no type or storage class
close(input); close(output);
^~~~~
/in/foo.c:32:16: warning: type defaults to 'int' in declaration of 'close' [-Wimplicit-int]
/in/foo.c:32:2: warning: parameter names (without types) in function declaration
close(input); close(output);
^~~~~
/in/foo.c:34:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
end.
^