結果

問題 No.71 そろばん
ユーザー tonyu0tonyu0
提出日時 2020-03-28 23:03:38
言語 Haskell
(9.8.2)
結果
AC  
実行時間 73 ms / 5,000 ms
コード長 65 bytes
コンパイル時間 14,684 ms
コンパイル使用メモリ 157,708 KB
実行使用メモリ 11,244 KB
最終ジャッジ日時 2023-08-30 18:20:19
合計ジャッジ時間 16,347 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,844 KB
testcase_01 AC 2 ms
6,852 KB
testcase_02 AC 73 ms
11,096 KB
testcase_03 AC 32 ms
11,040 KB
testcase_04 AC 42 ms
11,168 KB
testcase_05 AC 62 ms
11,024 KB
testcase_06 AC 62 ms
11,056 KB
testcase_07 AC 52 ms
11,140 KB
testcase_08 AC 32 ms
11,072 KB
testcase_09 AC 62 ms
11,076 KB
testcase_10 AC 42 ms
11,060 KB
testcase_11 AC 22 ms
11,008 KB
testcase_12 AC 32 ms
11,088 KB
testcase_13 AC 62 ms
11,080 KB
testcase_14 AC 32 ms
11,052 KB
testcase_15 AC 52 ms
11,064 KB
testcase_16 AC 23 ms
11,244 KB
testcase_17 AC 42 ms
11,112 KB
testcase_18 AC 52 ms
11,076 KB
testcase_19 AC 62 ms
11,040 KB
testcase_20 AC 62 ms
11,092 KB
testcase_21 AC 32 ms
11,024 KB
testcase_22 AC 52 ms
11,044 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 #

main=readLn>>= \n->print$maximum[j|i<-[0..n],let j=(n-i)*(i+1)+i]
0