結果

問題 No.721 Die tertia (ディエ・テルツィア)
ユーザー パイソン勉強中パイソン勉強中
提出日時 2018-12-05 23:05:17
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 32 ms / 2,000 ms
コード長 237 bytes
コンパイル時間 728 ms
コンパイル使用メモリ 10,712 KB
実行使用メモリ 9,800 KB
最終ジャッジ日時 2023-09-29 00:57:35
合計ジャッジ時間 2,903 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
9,736 KB
testcase_01 AC 32 ms
9,664 KB
testcase_02 AC 31 ms
9,620 KB
testcase_03 AC 31 ms
9,712 KB
testcase_04 AC 31 ms
9,644 KB
testcase_05 AC 31 ms
9,592 KB
testcase_06 AC 31 ms
9,576 KB
testcase_07 AC 31 ms
9,684 KB
testcase_08 AC 32 ms
9,724 KB
testcase_09 AC 31 ms
9,624 KB
testcase_10 AC 31 ms
9,620 KB
testcase_11 AC 31 ms
9,648 KB
testcase_12 AC 32 ms
9,728 KB
testcase_13 AC 32 ms
9,588 KB
testcase_14 AC 32 ms
9,688 KB
testcase_15 AC 31 ms
9,768 KB
testcase_16 AC 31 ms
9,736 KB
testcase_17 AC 32 ms
9,788 KB
testcase_18 AC 31 ms
9,800 KB
testcase_19 AC 31 ms
9,592 KB
testcase_20 AC 31 ms
9,772 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime

FORMAT = "%Y/%m/%d"

def mainProc(date):
    dat = date + datetime.timedelta(days=2)
    print(dat.strftime(FORMAT))

if __name__ == '__main__':

    date = datetime.datetime.strptime(input(), FORMAT)
    mainProc(date)
0