2014-08-02から1日間の記事一覧

LOWEST UNIQUE NUMBER(CodeEval)

CHALLENGE DESCRIPTION: here is a game where each player picks a number from 1 to 9, writes it on a paper and gives to a guide. A player wins if his number is the lowest unique. We may have 10-20 players in our game. INPUT SAMPLE: Your prog…

JSON MENU IDS(CodeEval)

CHALLENGE DESCRIPTION: You have JSON string which describes a menu. Calculate the SUM of IDs of all "items" in the case a "label" exists for an item. INPUT SAMPLE: Your program should accept as its first argument a path to a filename. Inpu…

EVEN NUMBERS(CodeEval)

CHALLENGE DESCRIPTION: Write a program which checks input numbers and determines whether a number is even or not. INPUT SAMPLE: Your program should accept as its first argument a path to a filename. Input example is the following 701 4123 …

CALCULATE DISTANCE(CodeEval)

CHALLENGE DESCRIPTION: You have coordinates of 2 points and need to find the distance between them. INPUT SAMPLE: Your program should accept as its first argument a path to a filename. Input example is the following (25, 4) (1, -6) (47, 43…

AtomのLinter

AtomのLinterはメジャーなものが2つありそうです。 両方ちょろっとさわってみたので感想を記載しておきます。 Linter Atom-Lint 違い 項目 Linter Atom-Lint URL https://atom.io/packages/linter https://atom.io/packages/atom-lint Linter linter-php, fo…