mirror of
https://gitlab.com/mfocko/CodeWars.git
synced 2024-11-24 01:31:56 +01:00
15 lines
175 B
ObjectPascal
15 lines
175 B
ObjectPascal
|
unit Kata;
|
||
|
|
||
|
interface
|
||
|
|
||
|
function CockroachSpeed(s: Real): Integer;
|
||
|
|
||
|
implementation
|
||
|
|
||
|
function CockroachSpeed(s: Real): Integer;
|
||
|
begin
|
||
|
Result := Trunc(250 * s / 9);
|
||
|
end;
|
||
|
|
||
|
end.
|