結果

問題 No.721 Die tertia (ディエ・テルツィア)
コンテスト
ユーザー naimonon77
提出日時 2024-01-21 03:11:07
言語 Python3
(3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
AC  
実行時間 520 ms / 2,000 ms
+ 66µs
コード長 1,049 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 783 ms
コンパイル使用メモリ 21,468 KB
実行使用メモリ 35,780 KB
最終ジャッジ日時 2026-09-05 13:23:52
合計ジャッジ時間 15,086 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 18
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#!usr/bin/env python3
from collections import defaultdict, deque
from heapq import heappush, heappop
from itertools import permutations, accumulate
import sys
import math
import bisect
import numpy
import re
import os
from math import inf
import random
import time
import copy
from decimal import *
import datetime


def LI():
    return [int(x) for x in sys.stdin.readline().split()]


def I():
    return int(sys.stdin.readline())


def IR(n):
    return [I() for _ in range(n)]


def LIR(n):
    return [LI() for _ in range(n)]


def abp(a, b, c):
    if a:
        print(b)
    else:
        print(c)


def yep(b):
    if b:
        print("Yes")
    else:
        print("No")


def div_ceil(a, b):
    return -(-a // b)


def eprint(*arg):
    if os.name == "nt": # windows
        print(*arg, file=sys.stderr)

sys.setrecursionlimit(1000000)
mod = 1000000007
MAX = 10**200

#
#
#

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