結果
| 問題 |
No.5 数字のブロック
|
| ユーザー |
sirasu
|
| 提出日時 | 2025-03-03 23:00:33 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 149 bytes |
| コンパイル時間 | 486 ms |
| コンパイル使用メモリ | 82,292 KB |
| 実行使用メモリ | 67,356 KB |
| 最終ジャッジ日時 | 2025-03-03 23:00:36 |
| 合計ジャッジ時間 | 3,177 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 RE * 10 |
ソースコード
a=int(input()) b=input() c=list(map(int,input().split())) c.sort() count=0 while a-c[count]>=0 and count<=len(c): a-=c[count] count+=1 print(count)
sirasu