結果

問題 No.216 FAC
ユーザー yuruhiyayuruhiya
提出日時 2021-03-26 19:15:50
言語 Ruby
(3.2.2)
結果
AC  
実行時間 69 ms / 1,000 ms
コード長 86 bytes
コンパイル時間 259 ms
コンパイル使用メモリ 11,356 KB
実行使用メモリ 15,384 KB
最終ジャッジ日時 2023-08-19 03:09:17
合計ジャッジ時間 4,038 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
15,144 KB
testcase_01 AC 67 ms
15,032 KB
testcase_02 AC 67 ms
15,176 KB
testcase_03 AC 66 ms
15,004 KB
testcase_04 AC 66 ms
15,032 KB
testcase_05 AC 65 ms
15,080 KB
testcase_06 AC 66 ms
15,340 KB
testcase_07 AC 66 ms
15,224 KB
testcase_08 AC 66 ms
15,240 KB
testcase_09 AC 67 ms
15,088 KB
testcase_10 AC 66 ms
15,164 KB
testcase_11 AC 68 ms
15,124 KB
testcase_12 AC 68 ms
15,152 KB
testcase_13 AC 68 ms
15,164 KB
testcase_14 AC 68 ms
15,384 KB
testcase_15 AC 67 ms
15,120 KB
testcase_16 AC 67 ms
15,172 KB
testcase_17 AC 66 ms
15,080 KB
testcase_18 AC 66 ms
15,308 KB
testcase_19 AC 66 ms
15,116 KB
testcase_20 AC 66 ms
15,260 KB
testcase_21 AC 67 ms
15,256 KB
testcase_22 AC 65 ms
15,248 KB
testcase_23 AC 66 ms
15,036 KB
testcase_24 AC 67 ms
15,156 KB
testcase_25 AC 66 ms
15,084 KB
testcase_26 AC 66 ms
15,148 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n,a,b=$<.map{_1.split.map &:to_i}
n*=101
a.zip(b){n[_2]+=_1}
puts n.max>n[0]?:NO:'YES'
0