結果
| 問題 |
No.8083 12歳
|
| コンテスト | |
| ユーザー |
harurun
|
| 提出日時 | 2021-04-01 21:14:29 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 202 bytes |
| コンパイル時間 | 131 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 11,392 KB |
| 最終ジャッジ日時 | 2024-12-21 05:13:40 |
| 合計ジャッジ時間 | 21,548 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 254 WA * 112 |
ソースコード
from calendar import isleap
def main():
Y,N,D=map(int,input().split())
d=365-D#残り日数
if isleap(Y+1):
d+=1
ans1=max(0,N-D)
ans2=min(N,d)
print(ans1,ans2)
return
main()
harurun