結果
問題 | No.857 素振り |
ユーザー |
![]() |
提出日時 | 2019-10-01 15:54:52 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 264 bytes |
コンパイル時間 | 77 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 17,568 KB |
最終ジャッジ日時 | 2024-10-03 05:44:04 |
合計ジャッジ時間 | 2,635 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 2 TLE * 1 -- * 5 |
ソースコード
line = input().split(" ") # 休み holiday1 = int(line[0]) holiday2 = int(line[1]) # 計測終了日 endAt = int(line[2]) i = 1 cnt = 0 while i <= endAt: if (i in (holiday1, holiday2)): i += 1 continue i += 1 cnt += 1 print(cnt)