結果
問題 |
No.1454 ツブ消ししとるなEasy
|
ユーザー |
|
提出日時 | 2022-07-08 15:02:53 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 316 bytes |
コンパイル時間 | 203 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 20,720 KB |
最終ジャッジ日時 | 2024-12-27 07:38:52 |
合計ジャッジ時間 | 2,274 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 3 |
other | AC * 1 WA * 15 |
ソースコード
N, M, X, Y = [int(x) for x in input().split()] Tbutter = [int(x) for x in input().split()] results = [] for t in Tbutter: if t >= X: results.append(t) elif t <= Y: pass # elif Y < t < X: # pass tester = sum(results) if tester > M: print(tester) else: print("Handicapped")