結果

問題 No.87 Advent Calendar Problem
ユーザー MitI_7
提出日時 2015-12-31 10:18:23
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 212 bytes
コンパイル時間 171 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2024-09-19 08:56:15
合計ジャッジ時間 1,984 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 2 RE * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

from datetime import date


def main():
    n = int(input())
    ans = 0
    for y in range(2015, n + 1):
        ans += date(y, 7, 23).isoweekday() == 3
    print(ans)
    
if __name__ == '__main__':
    main()
0