結果

問題 No.721 Die tertia (ディエ・テルツィア)
ユーザー Ytz_IchiYtz_Ichi
提出日時 2020-02-21 03:21:40
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 19 ms / 2,000 ms
コード長 188 bytes
コンパイル時間 122 ms
コンパイル使用メモリ 10,484 KB
実行使用メモリ 8,808 KB
最終ジャッジ日時 2023-07-30 04:49:09
合計ジャッジ時間 2,278 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,544 KB
testcase_01 AC 19 ms
8,684 KB
testcase_02 AC 19 ms
8,624 KB
testcase_03 AC 18 ms
8,760 KB
testcase_04 AC 18 ms
8,628 KB
testcase_05 AC 18 ms
8,664 KB
testcase_06 AC 19 ms
8,544 KB
testcase_07 AC 18 ms
8,712 KB
testcase_08 AC 18 ms
8,808 KB
testcase_09 AC 19 ms
8,632 KB
testcase_10 AC 19 ms
8,632 KB
testcase_11 AC 18 ms
8,632 KB
testcase_12 AC 18 ms
8,632 KB
testcase_13 AC 17 ms
8,624 KB
testcase_14 AC 19 ms
8,788 KB
testcase_15 AC 18 ms
8,748 KB
testcase_16 AC 18 ms
8,660 KB
testcase_17 AC 18 ms
8,636 KB
testcase_18 AC 18 ms
8,748 KB
testcase_19 AC 18 ms
8,664 KB
testcase_20 AC 18 ms
8,548 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime

a, b, c = map(int, input().split("/"))
d = datetime.datetime(a, b, c)
day_after_tomorrow = datetime.timedelta(days=2)
print("{0:%Y/%m/%d}".format(d + day_after_tomorrow))
0