結果

問題 No.779 Heisei
ユーザー 👑 maimai
提出日時 2018-10-26 10:39:07
言語 Ruby
(3.2.1 )
結果
AC  
実行時間 93 ms / 1,000 ms
コード長 147 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 11,440 KB
実行使用メモリ 15,688 KB
最終ジャッジ日時 2023-08-05 22:35:32
合計ジャッジ時間 3,322 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 93 ms
15,584 KB
testcase_01 AC 80 ms
15,272 KB
testcase_02 AC 79 ms
15,244 KB
testcase_03 AC 77 ms
15,340 KB
testcase_04 AC 79 ms
15,376 KB
testcase_05 AC 88 ms
15,508 KB
testcase_06 AC 79 ms
15,368 KB
testcase_07 AC 87 ms
15,684 KB
testcase_08 AC 86 ms
15,648 KB
testcase_09 AC 85 ms
15,312 KB
testcase_10 AC 80 ms
15,460 KB
testcase_11 AC 87 ms
15,468 KB
testcase_12 AC 88 ms
15,524 KB
testcase_13 AC 88 ms
15,504 KB
testcase_14 AC 88 ms
15,516 KB
testcase_15 AC 89 ms
15,448 KB
testcase_16 AC 89 ms
15,504 KB
testcase_17 AC 78 ms
15,224 KB
testcase_18 AC 86 ms
15,688 KB
testcase_19 AC 87 ms
15,544 KB
testcase_20 AC 88 ms
15,540 KB
testcase_21 AC 89 ms
15,588 KB
testcase_22 AC 89 ms
15,512 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