結果

問題 No.276 連続する整数の和(1)
ユーザー tottoripaper
提出日時 2015-09-28 21:55:16
言語 Haskell
(9.10.1)
結果
WA  
実行時間 -
コード長 68 bytes
コンパイル時間 7,333 ms
コンパイル使用メモリ 176,000 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-19 11:24:17
合計ジャッジ時間 7,893 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 WA * 3
権限があれば一括ダウンロードができます
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.8.2/environments/default
[1 of 2] Compiling Main             ( Main.hs, Main.o )
[2 of 2] Linking a.out

ソースコード

diff #

main = (readLn :: IO Int) >>= (\n -> print $ if odd n then n else 1)
0