結果

問題 No.188 HAPPY DAY
ユーザー neko_the_shadowneko_the_shadow
提出日時 2019-04-15 08:54:20
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 37 ms / 1,000 ms
コード長 218 bytes
コンパイル時間 87 ms
コンパイル使用メモリ 11,788 KB
実行使用メモリ 10,452 KB
最終ジャッジ日時 2023-10-22 02:52:42
合計ジャッジ時間 593 ms
ジャッジサーバーID
(参考情報)
judge9 / judge10
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
10,452 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime

t = datetime.date(2015, 1, 1)
oneday = datetime.timedelta(1)
count = 0
while t.year == 2015:
    x = t.month
    y = t.day
    if x == y // 10 + y % 10:
        count += 1
    t += oneday

print(count)
0