結果
| 問題 |
No.5 数字のブロック
|
| ユーザー |
onzuka_muscle
|
| 提出日時 | 2021-03-05 16:54:52 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 157 bytes |
| コンパイル時間 | 239 ms |
| コンパイル使用メモリ | 81,816 KB |
| 実行使用メモリ | 66,732 KB |
| 最終ジャッジ日時 | 2024-10-06 16:10:28 |
| 合計ジャッジ時間 | 2,892 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 RE * 10 |
ソースコード
l = int(input())
n = int(input())
w = input().split()
w = list(map(int, w ))
i = -1
while l>=0:
i += 1
l = l-min(w)
w.remove(min(w))
print(i)
onzuka_muscle