Pascal compiler was upgraded from FreePascal 2.0.2 to FreePascal 2.0.4.
We compile sources with following command line:
ppc386 %1 -WC -Ci-o-r-t- -Xs -Sdgich -Se10 -l- -vwnh -n -dONLINE_JUDGE
In new release FreePascal became more compatible with Borland Delphi.
Some important examples:
• The following codes get CE now:
uses wincrt;
for i := 1 to n do
for i := 1 to m do
DoSomething;
var i: integer; x: extended;
...
x := extended(i);
• The following code works much more fatser than before:
var s1: array[1..100000] of string[30]; s: string;
...
counter := 0;
for i := 1 to 100000 do
if s1[i] = s then inc(counter);
• The following code works correctly now:
var s: string[4];
...
read(s); {reads the next 4 characters from input}
Pascal submissions since 1.10.2006 were rejudged. About 100 were affected.
Edited by author 24.10.2006 15:07