結果

問題 No.349 干支の置き物
ユーザー mmmpppmmmppp
提出日時 2017-02-27 03:51:52
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 62 bytes
コンパイル時間 184 ms
コンパイル使用メモリ 11,524 KB
実行使用メモリ 15,324 KB
最終ジャッジ日時 2023-09-02 10:48:30
合計ジャッジ時間 3,901 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
15,076 KB
testcase_01 AC 76 ms
15,304 KB
testcase_02 AC 77 ms
15,136 KB
testcase_03 AC 79 ms
15,252 KB
testcase_04 AC 80 ms
15,312 KB
testcase_05 AC 78 ms
15,108 KB
testcase_06 AC 76 ms
15,024 KB
testcase_07 AC 75 ms
15,308 KB
testcase_08 AC 77 ms
15,144 KB
testcase_09 AC 77 ms
15,312 KB
testcase_10 AC 77 ms
15,144 KB
testcase_11 AC 77 ms
15,032 KB
testcase_12 AC 77 ms
15,144 KB
testcase_13 AC 80 ms
15,112 KB
testcase_14 AC 76 ms
15,148 KB
testcase_15 AC 75 ms
15,284 KB
testcase_16 AC 76 ms
15,272 KB
testcase_17 AC 77 ms
15,160 KB
testcase_18 WA -
testcase_19 AC 79 ms
15,040 KB
testcase_20 WA -
testcase_21 AC 76 ms
15,264 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 77 ms
15,268 KB
testcase_26 AC 78 ms
15,216 KB
testcase_27 AC 76 ms
15,144 KB
testcase_28 AC 78 ms
15,160 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 AC 78 ms
15,308 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n=gets.to_i;a=[*$<]
puts n>a.map{|e|a.count e}.max*2?:YES:'NO'
0