Skip to content
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
.php_cs.dist
.scrutinizer.yml
.travis.yml
LICENSE
README.md
composer.json
phpcs.xml
phpmd.xml
phpstan.neon
phpunit.xml.dist

README.md

nagoyaphp15

雛形

1. インストール

$ git clone git@github.com:ttskch/nagoyaphp15.git
$ cd nagoyaphp15
$ composer install

2. 実装

Nagoyaphp\Dokaku15\Dokaku15::run() を適切に実装する。

3. テスト

$ composer test

Nagoyaphp\Dokaku15\Dokaku15Test::test() のテストが全てパスすればOK。

解答例

愚直バージョン

https://github.com/ttskch/nagoyaphp15/commit/136e91f6a15d7aa010b3d1281e03c3c6d78a75b8

スマートバージョン

https://github.com/ttskch/nagoyaphp15/commit/7635145bf1b0f8a5785b69e72c6dc9a339cdd539

アルゴリズムの解説

https://speakerdeck.com/ttskch/jin-ri-false-doushu-ku-wen-ti-falsearugorizumuli

You can’t perform that action at this time.