結果
| 問題 | No.5 数字のブロック |
| コンテスト | |
| ユーザー |
compass19
|
| 提出日時 | 2016-11-17 09:26:13 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 128 bytes |
| 記録 | |
| コンパイル時間 | 544 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-05-20 14:44:38 |
| 合計ジャッジ時間 | 6,501 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 29 WA * 5 |
ソースコード
i=input L=int(i()); i() W=sorted(map(int,i().split())) c,w=0,0 while c<L: c+=W[w];w+=1 if w==len(W):print(w);exit() print(w-1)
compass19