結果
| 問題 | No.5 数字のブロック |
| コンテスト | |
| ユーザー |
Michirakara
|
| 提出日時 | 2022-11-28 01:15:47 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 152 bytes |
| 記録 | |
| コンパイル時間 | 65 ms |
| コンパイル使用メモリ | 80,976 KB |
| 実行使用メモリ | 75,624 KB |
| 最終ジャッジ日時 | 2026-09-10 06:35:12 |
| 合計ジャッジ時間 | 3,188 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 RE * 10 |
ソースコード
l=int(input())
w=int(input())
a=sorted(map(int,input().split()))
c=0
for i in range(w):
c+=a[i]
if c>l:
print(i)
exit()
prnit(w)
Michirakara