結果
問題 | No.857 素振り |
ユーザー | StarMatyan |
提出日時 | 2019-08-10 23:34:21 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 288 bytes |
コンパイル時間 | 93 ms |
コンパイル使用メモリ | 10,716 KB |
実行使用メモリ | 7,852 KB |
最終ジャッジ日時 | 2023-09-26 23:42:42 |
合計ジャッジ時間 | 2,772 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 18 ms
7,848 KB |
testcase_01 | AC | 17 ms
7,852 KB |
testcase_02 | AC | 15 ms
7,696 KB |
testcase_03 | AC | 16 ms
7,772 KB |
testcase_04 | TLE | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
ソースコード
int_data = input() sp_int = int_data.split(" ") first_sab = int(sp_int[0]) sec_sab = int(sp_int[1]) las_day = int(sp_int[2]) che_day = 1 result = 0 while(che_day <= las_day): if che_day != first_sab and che_day != sec_sab: result = result + 1 che_day = che_day + 1 print(result)