mirror of
https://gitlab.com/mfocko/CodeWars.git
synced 2024-11-22 16:43:46 +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.
|