結果
| 問題 | No.5 数字のブロック |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-07-28 00:14:40 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 190 bytes |
| 記録 | |
| コンパイル時間 | 406 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 20,608 KB |
| 最終ジャッジ日時 | 2026-04-01 04:52:36 |
| 合計ジャッジ時間 | 10,408 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 34 |
ソースコード
L = int(input())
N = int(input())
li = []
for i in range(N):
li.append(int(input()))
li = li.sort
cnt = 0
while L > 0:
for j in li:
L = L - li[j]
cnt += 1
print(cnt)