結果
| 問題 | No.5 数字のブロック |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-01-04 12:36:44 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 120 bytes |
| 記録 | |
| コンパイル時間 | 595 ms |
| コンパイル使用メモリ | 21,540 KB |
| 実行使用メモリ | 15,624 KB |
| 最終ジャッジ日時 | 2026-01-04 12:36:52 |
| 合計ジャッジ時間 | 6,017 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 WA * 7 |
ソースコード
L = int(input()) N = int(input()) W = sorted(map(int, input().split())) c = 0 for w in W: L-=w if L>0: c+=1 print(c)