結果

問題 No.299 蟻本が読めない
ユーザー はむ吉🐹はむ吉🐹
提出日時 2015-11-13 22:22:39
言語 Haskell
(9.6.2)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 101 bytes
コンパイル時間 5,981 ms
コンパイル使用メモリ 157,480 KB
実行使用メモリ 7,016 KB
最終ジャッジ日時 2023-10-11 15:50:49
合計ジャッジ時間 6,704 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,896 KB
testcase_01 AC 2 ms
6,972 KB
testcase_02 AC 2 ms
7,016 KB
testcase_03 AC 2 ms
6,868 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 #

calc :: Integer -> Integer
calc n = 316 + (n - 1) * 52

main :: IO ()
main = print . calc =<< readLn
0