An open API service indexing awesome lists of open source software.

https://github.com/ttskch/nagoyaphp17


https://github.com/ttskch/nagoyaphp17

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# nagoyaphp17

## 雛形

### 1. インストール

```bash
$ git clone git@github.com:ttskch/nagoyaphp17.git
$ cd nagoyaphp17
$ composer install
```

### 2. 実装

[Nagoyaphp\Dokaku17\Dokaku17::run()](/src/Dokaku17.php#L9) を適切に実装する。

### 3. テスト

```bash
$ composer test
```

[Nagoyaphp\Dokaku17\Dokaku17Test::test()](/tests/Dokaku17Test.php#L24) のテストが全てパスすればOK。

## 解答例

### 愚直バージョン

https://github.com/ttskch/nagoyaphp17/commit/94db7213a4623a6ed4660599927963354478d0f6

### 工夫バージョン

https://github.com/ttskch/nagoyaphp17/commit/89753a267af9e6ecc0e47c93b7ba0355613c3998

### アルゴリズムの解説

https://speakerdeck.com/ttskch/jin-ri-false-doushu-ku-wen-ti-falsearugorizumuli-5ac21068-a80f-49be-9473-0c4338d9c06f