結果
| 問題 | No.87 Advent Calendar Problem |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-02-15 23:11:25 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 177 bytes |
| 記録 | |
| コンパイル時間 | 137 ms |
| コンパイル使用メモリ | 77,472 KB |
| 最終ジャッジ日時 | 2025-12-03 13:53:54 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 14 WA * 10 |
ソースコード
d = 6
ds = [0]*400
for i in xrange(400):
d = (d + (i%4 if i%4 > 0 else 1 if i%100 < 1 else 2))%7
ds[i] = d
N = int(raw_input())-2000
print N/400*57+ds[:N%400].count(3)-3