Add tags

Add tags to the following comment

Haskell の方がきれいに書けますね。

1
2
3
4
import Data.List

check (x:xs) = (all (< x) xs || all (> x) xs) && check xs
check []     = True

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...