結果

問題 No.349 干支の置き物
ユーザー hogeover30hogeover30
提出日時 2017-01-26 02:15:34
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 65 bytes
コンパイル時間 474 ms
コンパイル使用メモリ 11,156 KB
実行使用メモリ 15,380 KB
最終ジャッジ日時 2023-08-24 23:15:27
合計ジャッジ時間 4,293 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
15,116 KB
testcase_01 AC 85 ms
15,236 KB
testcase_02 AC 85 ms
15,044 KB
testcase_03 AC 84 ms
15,260 KB
testcase_04 AC 86 ms
15,084 KB
testcase_05 AC 85 ms
15,100 KB
testcase_06 AC 86 ms
15,244 KB
testcase_07 AC 86 ms
15,108 KB
testcase_08 AC 86 ms
14,968 KB
testcase_09 AC 85 ms
15,080 KB
testcase_10 AC 85 ms
15,100 KB
testcase_11 AC 85 ms
15,304 KB
testcase_12 AC 86 ms
15,084 KB
testcase_13 AC 85 ms
15,132 KB
testcase_14 AC 86 ms
15,060 KB
testcase_15 AC 86 ms
15,292 KB
testcase_16 AC 86 ms
15,296 KB
testcase_17 AC 86 ms
15,256 KB
testcase_18 WA -
testcase_19 AC 85 ms
14,976 KB
testcase_20 WA -
testcase_21 AC 85 ms
15,084 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 85 ms
15,212 KB
testcase_26 AC 87 ms
15,128 KB
testcase_27 AC 88 ms
15,244 KB
testcase_28 AC 86 ms
15,256 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 AC 87 ms
15,216 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

_,n,*a=`sort|uniq -c`.split.map &:to_i
puts a.max<-~n/2?:YES: :NO
0