結果

問題 No.721 Die tertia (ディエ・テルツィア)
ユーザー santafe1006santafe1006
提出日時 2018-10-31 22:27:38
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 19 ms / 2,000 ms
コード長 153 bytes
コンパイル時間 336 ms
コンパイル使用メモリ 10,524 KB
実行使用メモリ 8,828 KB
最終ジャッジ日時 2023-08-12 12:26:44
合計ジャッジ時間 1,822 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
8,712 KB
testcase_01 AC 17 ms
8,676 KB
testcase_02 AC 17 ms
8,672 KB
testcase_03 AC 16 ms
8,664 KB
testcase_04 AC 16 ms
8,684 KB
testcase_05 AC 16 ms
8,828 KB
testcase_06 AC 17 ms
8,748 KB
testcase_07 AC 19 ms
8,732 KB
testcase_08 AC 18 ms
8,680 KB
testcase_09 AC 18 ms
8,724 KB
testcase_10 AC 17 ms
8,680 KB
testcase_11 AC 16 ms
8,816 KB
testcase_12 AC 17 ms
8,712 KB
testcase_13 AC 16 ms
8,784 KB
testcase_14 AC 15 ms
8,808 KB
testcase_15 AC 15 ms
8,692 KB
testcase_16 AC 16 ms
8,660 KB
testcase_17 AC 16 ms
8,660 KB
testcase_18 AC 16 ms
8,656 KB
testcase_19 AC 15 ms
8,720 KB
testcase_20 AC 16 ms
8,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime
y,m,d = map(int,input().split('/'))
d1 = datetime.date(y,m,d)
td = datetime.timedelta(days=2)
d2 = d1 + td
print(d2.strftime('%Y/%m/%d'))
0