結果

問題 No.313 π
ユーザー cielciel
提出日時 2015-12-07 00:57:17
言語 Ruby
(3.3.0)
結果
AC  
実行時間 151 ms / 5,000 ms
コード長 147 bytes
コンパイル時間 147 ms
コンパイル使用メモリ 11,460 KB
実行使用メモリ 15,820 KB
最終ジャッジ日時 2023-08-27 06:06:42
合計ジャッジ時間 7,104 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 145 ms
15,756 KB
testcase_01 AC 151 ms
15,600 KB
testcase_02 AC 148 ms
15,600 KB
testcase_03 AC 146 ms
15,660 KB
testcase_04 AC 148 ms
15,580 KB
testcase_05 AC 146 ms
15,732 KB
testcase_06 AC 146 ms
15,804 KB
testcase_07 AC 145 ms
15,528 KB
testcase_08 AC 145 ms
15,576 KB
testcase_09 AC 148 ms
15,564 KB
testcase_10 AC 147 ms
15,528 KB
testcase_11 AC 148 ms
15,728 KB
testcase_12 AC 147 ms
15,740 KB
testcase_13 AC 147 ms
15,576 KB
testcase_14 AC 145 ms
15,712 KB
testcase_15 AC 146 ms
15,584 KB
testcase_16 AC 146 ms
15,744 KB
testcase_17 AC 146 ms
15,640 KB
testcase_18 AC 148 ms
15,612 KB
testcase_19 AC 147 ms
15,820 KB
testcase_20 AC 146 ms
15,752 KB
testcase_21 AC 147 ms
15,532 KB
testcase_22 AC 148 ms
15,528 KB
testcase_23 AC 147 ms
15,700 KB
testcase_24 AC 146 ms
15,584 KB
testcase_25 AC 147 ms
15,740 KB
testcase_26 AC 148 ms
15,756 KB
testcase_27 AC 150 ms
15,624 KB
testcase_28 AC 151 ms
15,608 KB
testcase_29 AC 147 ms
15,784 KB
testcase_30 AC 148 ms
15,528 KB
testcase_31 AC 146 ms
15,664 KB
testcase_32 AC 147 ms
15,712 KB
testcase_33 AC 147 ms
15,620 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

h=Hash.new(0);gets.chomp.chars{|c|h[c]+=1};puts (0..9).minmax_by{|i|[20104,20063,19892,20011,19874,20199,19898,20163,19956,19841][i]-h[i.to_s]}*' '
0