結果

問題 No.381 名声値を稼ごう Extra
ユーザー HaarHaar
提出日時 2016-06-17 23:58:00
言語 Haskell
(9.8.2)
結果
AC  
実行時間 488 ms / 8,000 ms
コード長 119 bytes
コンパイル時間 1,528 ms
コンパイル使用メモリ 174,852 KB
実行使用メモリ 83,584 KB
最終ジャッジ日時 2024-04-17 23:41:36
合計ジャッジ時間 2,296 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
5,248 KB
testcase_01 AC 488 ms
83,584 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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:4:1: warning: [GHC-94817] [-Wtabs]
    Tab character found here, and in one further location.
    Suggested fix: Please use spaces instead.
  |
4 |         n <- return . (read::String->Integer) =<< getLine
  | ^^^^^^^^
[2 of 2] Linking a.out

ソースコード

diff #

import Data.Bits

main = do
	n <- return . (read::String->Integer) =<< getLine
	print $ (popCount n) `mod` 1004535809 
0