結果
問題 | No.857 素振り |
ユーザー |
![]() |
提出日時 | 2019-10-01 16:10:55 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 27 ms / 1,000 ms |
コード長 | 229 bytes |
コンパイル時間 | 74 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-10-03 05:44:06 |
合計ジャッジ時間 | 767 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
line = input().split(" ") # 休み holiday1 = int(line[0]) holiday2 = int(line[1]) # 計測終了日 endAt = int(line[2]) total = endAt if (endAt >= holiday1): total -= 1 if (endAt >= holiday2): total -= 1 print(total)