結果

問題 No.721 Die tertia (ディエ・テルツィア)
ユーザー @abcde@abcde
提出日時 2019-02-03 13:03:46
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 33 ms / 2,000 ms
コード長 349 bytes
コンパイル時間 720 ms
コンパイル使用メモリ 10,476 KB
実行使用メモリ 9,836 KB
最終ジャッジ日時 2023-08-22 11:05:50
合計ジャッジ時間 2,134 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
9,800 KB
testcase_01 AC 32 ms
9,736 KB
testcase_02 AC 31 ms
9,820 KB
testcase_03 AC 31 ms
9,628 KB
testcase_04 AC 31 ms
9,652 KB
testcase_05 AC 31 ms
9,812 KB
testcase_06 AC 31 ms
9,696 KB
testcase_07 AC 32 ms
9,688 KB
testcase_08 AC 32 ms
9,692 KB
testcase_09 AC 32 ms
9,820 KB
testcase_10 AC 32 ms
9,788 KB
testcase_11 AC 33 ms
9,736 KB
testcase_12 AC 32 ms
9,632 KB
testcase_13 AC 32 ms
9,824 KB
testcase_14 AC 32 ms
9,836 KB
testcase_15 AC 32 ms
9,688 KB
testcase_16 AC 32 ms
9,824 KB
testcase_17 AC 32 ms
9,684 KB
testcase_18 AC 33 ms
9,688 KB
testcase_19 AC 31 ms
9,628 KB
testcase_20 AC 32 ms
9,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-
import datetime

# 1. 入力情報取得.
I = input()

# 2. 日付データに変換.
# 日付の加算・減算.
# https://python.civic-apps.com/timedelta/
iDate = datetime.datetime.strptime(I, '%Y/%m/%d')

# 3. 2日加算して調査.
ans = iDate + datetime.timedelta(days = 2)

# 4. 出力.
print(ans.strftime('%Y/%m/%d'))
0