結果

問題 No.779 Heisei
ユーザー 👑 maimai
提出日時 2018-10-26 10:39:07
言語 Ruby
(3.1.1p18 )
結果
AC  
実行時間 95 ms / 1,000 ms
コード長 147 bytes
コンパイル時間 158 ms
使用メモリ 14,568 KB
最終ジャッジ日時 2022-12-12 00:44:49
合計ジャッジ時間 4,217 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 90 ms
14,476 KB
testcase_01 AC 79 ms
13,932 KB
testcase_02 AC 79 ms
14,072 KB
testcase_03 AC 79 ms
13,940 KB
testcase_04 AC 77 ms
13,940 KB
testcase_05 AC 91 ms
14,568 KB
testcase_06 AC 79 ms
14,024 KB
testcase_07 AC 88 ms
14,468 KB
testcase_08 AC 88 ms
14,260 KB
testcase_09 AC 86 ms
14,284 KB
testcase_10 AC 78 ms
13,968 KB
testcase_11 AC 89 ms
14,404 KB
testcase_12 AC 95 ms
14,448 KB
testcase_13 AC 90 ms
14,392 KB
testcase_14 AC 92 ms
14,352 KB
testcase_15 AC 89 ms
14,472 KB
testcase_16 AC 89 ms
14,404 KB
testcase_17 AC 75 ms
13,924 KB
testcase_18 AC 88 ms
14,316 KB
testcase_19 AC 87 ms
14,200 KB
testcase_20 AC 89 ms
14,216 KB
testcase_21 AC 88 ms
14,356 KB
testcase_22 AC 88 ms
14,352 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

require 'date'
low  = Date.new(1989, 1, 8)
high = Date.new(2019, 4, 30)
puts (low..high).include?( Date.new(*gets.split.map(&:to_i)) ) ? :Yes : :No
0