結果

問題 No.218 経験値1.5倍
ユーザー aimyaimy
提出日時 2017-04-26 23:40:49
言語 Haskell
(9.8.2)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 213 bytes
コンパイル時間 684 ms
コンパイル使用メモリ 157,196 KB
実行使用メモリ 11,248 KB
最終ジャッジ日時 2023-08-28 14:32:30
合計ジャッジ時間 2,158 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 3 ms
7,104 KB
testcase_07 AC 3 ms
7,088 KB
testcase_08 AC 3 ms
7,148 KB
testcase_09 AC 2 ms
7,156 KB
testcase_10 AC 3 ms
7,080 KB
testcase_11 AC 3 ms
7,068 KB
testcase_12 AC 3 ms
7,104 KB
testcase_13 AC 2 ms
7,104 KB
testcase_14 AC 12 ms
11,176 KB
testcase_15 AC 12 ms
11,152 KB
testcase_16 AC 12 ms
11,144 KB
testcase_17 AC 2 ms
7,124 KB
testcase_18 AC 3 ms
7,016 KB
testcase_19 AC 42 ms
11,248 KB
testcase_20 AC 3 ms
7,144 KB
testcase_21 AC 3 ms
7,244 KB
testcase_22 AC 3 ms
7,080 KB
testcase_23 AC 2 ms
7,096 KB
testcase_24 AC 2 ms
7,068 KB
testcase_25 AC 2 ms
7,084 KB
testcase_26 AC 2 ms
7,148 KB
testcase_27 AC 2 ms
7,088 KB
testcase_28 AC 3 ms
7,100 KB
testcase_29 AC 2 ms
7,076 KB
testcase_30 AC 2 ms
7,184 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.6.1/environments/default
[1 of 2] Compiling Main             ( Main.hs, Main.o )
[2 of 2] Linking a.out

ソースコード

diff #

import Data.Bool

main = getContents >>= putStrLn . bool "NO" "YES" . exp15 . map read . words

exp15 [a,b,c] = div (2 * req b) (3 * req c) == 1
 where req n = fst $ until ((>=a).snd) (\(x,y)->(succ x, y+n)) (0,0)
0