結果

問題 No.721 Die tertia (ディエ・テルツィア)
ユーザー wonda_t_coffeewonda_t_coffee
提出日時 2020-01-30 23:36:33
言語 Ruby
(3.2.2)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 110 bytes
コンパイル時間 505 ms
コンパイル使用メモリ 11,172 KB
実行使用メモリ 15,452 KB
最終ジャッジ日時 2023-10-14 09:04:06
合計ジャッジ時間 2,842 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
15,412 KB
testcase_01 AC 68 ms
15,216 KB
testcase_02 AC 68 ms
15,160 KB
testcase_03 AC 69 ms
15,328 KB
testcase_04 AC 73 ms
15,376 KB
testcase_05 AC 69 ms
15,312 KB
testcase_06 AC 71 ms
15,324 KB
testcase_07 AC 68 ms
15,288 KB
testcase_08 AC 70 ms
15,228 KB
testcase_09 AC 69 ms
15,228 KB
testcase_10 AC 71 ms
15,176 KB
testcase_11 AC 71 ms
15,292 KB
testcase_12 AC 68 ms
15,316 KB
testcase_13 AC 68 ms
15,220 KB
testcase_14 AC 69 ms
15,160 KB
testcase_15 AC 69 ms
15,416 KB
testcase_16 AC 71 ms
15,452 KB
testcase_17 AC 71 ms
15,236 KB
testcase_18 AC 66 ms
15,280 KB
testcase_19 AC 67 ms
15,380 KB
testcase_20 AC 69 ms
15,224 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

require 'date'

y, m, d = gets.chomp.split('/').map(&:to_i)

puts (Date.new(y, m, d) + 2).strftime("%Y/%m/%d")
0