結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー |
|
提出日時 | 2016-08-20 20:24:33 |
言語 | Haskell (9.10.1) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 181 bytes |
コンパイル時間 | 2,251 ms |
コンパイル使用メモリ | 176,768 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-23 02:22:58 |
合計ジャッジ時間 | 2,889 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.8.2/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) Main.hs:3:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in four further locations. Suggested fix: Please use spaces instead. | 3 | l<-read<$>getLine | ^^^^^^^^ [2 of 2] Linking a.out
ソースコード
importControl.Applicativemain=dol<-read<$>getLinem<-read<$>getLinen<-read<$>getLinelet s1=(l*100+m*25+n) `mod` 1000putStrLn$show$s1`div`100+(s1`mod`100`div`25)+s1`mod`25