結果

問題 No.721 Die tertia (ディエ・テルツィア)
ユーザー notsix4notsix4
提出日時 2021-12-16 17:11:39
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 198 bytes
コンパイル時間 328 ms
コンパイル使用メモリ 10,560 KB
実行使用メモリ 9,800 KB
最終ジャッジ日時 2023-10-11 15:34:33
合計ジャッジ時間 2,122 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
9,600 KB
testcase_01 AC 31 ms
9,704 KB
testcase_02 AC 32 ms
9,700 KB
testcase_03 AC 32 ms
9,588 KB
testcase_04 AC 31 ms
9,764 KB
testcase_05 AC 34 ms
9,596 KB
testcase_06 AC 32 ms
9,652 KB
testcase_07 AC 32 ms
9,604 KB
testcase_08 AC 32 ms
9,624 KB
testcase_09 AC 32 ms
9,620 KB
testcase_10 AC 31 ms
9,764 KB
testcase_11 AC 32 ms
9,724 KB
testcase_12 AC 31 ms
9,692 KB
testcase_13 AC 30 ms
9,600 KB
testcase_14 AC 30 ms
9,612 KB
testcase_15 AC 31 ms
9,696 KB
testcase_16 AC 31 ms
9,760 KB
testcase_17 AC 31 ms
9,800 KB
testcase_18 AC 31 ms
9,588 KB
testcase_19 AC 30 ms
9,700 KB
testcase_20 AC 31 ms
9,760 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from datetime import datetime, timedelta

# 時刻
base = datetime.strptime(input(), "%Y/%m/%d")

# 時間
t = timedelta(days = 2)

# 時刻 - 時間 を出力
print((base + t).strftime("%Y/%m/%d"))
0