Skip to content

tim96/Kattis-All-Different-Directions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All Different Directions

Task

Install

composer install

Tests

./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/

Usage

// You can integrate `App\Application` into current system. Example of usage:

$instructions = [];
$instructions[] = '87.342 34.30 start 0 walk 10.0';

$app = new Application($instructions);
$result = $app->calculate();

// Where $result is `App\Model\Result` class with Average point and distance value

Todo

  • Provide more strict validation for input data

About

All Different Directions task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages