結果
| 問題 |
No.8083 12歳
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-04-01 21:38:36 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 280 bytes |
| コンパイル時間 | 107 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-12-21 05:57:50 |
| 合計ジャッジ時間 | 20,069 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 260 WA * 106 |
ソースコード
y, n, d = list(map(int, input().split()))
def is_leap(year):
if year % 400 == 0:
return True
if year % 100 == 0:
return False
if year % 4 == 0:
return True
return False
c = 366 if is_leap(y) else 365
print(max(0, n - d), min(c - d, n))