結果
| 問題 | No.87 Advent Calendar Problem |
| コンテスト | |
| ユーザー |
matsu7874
|
| 提出日時 | 2014-12-07 00:17:41 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 174 bytes |
| 記録 | |
| コンパイル時間 | 82 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 17,180 KB |
| 最終ジャッジ日時 | 2024-06-11 15:53:28 |
| 合計ジャッジ時間 | 12,552 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 3 |
| other | TLE * 1 -- * 23 |
ソースコード
d = 0
cnt = 0
for y in range(2014, 10**10+1):
if (y%4==0 and y%100!=0) or y%400==0:
d += 2
else:
d += 1
if d%7 == 0:
d = 0
cnt += 1
print(cnt)
matsu7874