結果
| 問題 | No.5 数字のブロック |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-05 14:03:14 |
| 言語 | PyPy3 (7.3.23) |
| 結果 |
AC
|
| 実行時間 | 68 ms / 5,000 ms |
| + 856µs | |
| コード長 | 194 bytes |
| 記録 | |
| コンパイル時間 | 244 ms |
| コンパイル使用メモリ | 96,488 KB |
| 実行使用メモリ | 83,584 KB |
| 最終ジャッジ日時 | 2026-08-18 07:32:03 |
| 合計ジャッジ時間 | 4,839 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 34 |
ソースコード
L = int(input()) N = int(input()) W = list(map(int, input().split())) W.sort() from bisect import bisect from itertools import accumulate W = list(accumulate(W)) # print(W) print(bisect(W, L))