結果

問題 No.446 ゆきこーだーの雨と雪 (1)
ユーザー masashi0217masashi0217
提出日時 2021-04-08 15:54:03
言語 Ruby
(3.3.0)
結果
AC  
実行時間 91 ms / 2,000 ms
コード長 145 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 11,244 KB
実行使用メモリ 15,812 KB
最終ジャッジ日時 2023-09-06 00:00:51
合計ジャッジ時間 3,425 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
15,756 KB
testcase_01 AC 89 ms
15,616 KB
testcase_02 AC 87 ms
15,812 KB
testcase_03 AC 88 ms
15,696 KB
testcase_04 AC 91 ms
15,760 KB
testcase_05 AC 86 ms
15,544 KB
testcase_06 AC 86 ms
15,548 KB
testcase_07 AC 87 ms
15,620 KB
testcase_08 AC 86 ms
15,544 KB
testcase_09 AC 86 ms
15,692 KB
testcase_10 AC 87 ms
15,608 KB
testcase_11 AC 89 ms
15,628 KB
testcase_12 AC 85 ms
15,548 KB
testcase_13 AC 85 ms
15,636 KB
testcase_14 AC 85 ms
15,800 KB
testcase_15 AC 86 ms
15,780 KB
testcase_16 AC 85 ms
15,584 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a = gets.chomp
b = gets.chomp
arr = [*0..12345]
arr = arr.map(&:to_s)
if arr.include?(a) && arr.include?(b)
    puts "OK"
else
    puts "NG"
end
0