結果
問題 |
No.5 数字のブロック
|
ユーザー |
|
提出日時 | 2024-05-30 20:23:58 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 154 bytes |
コンパイル時間 | 315 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,776 KB |
最終ジャッジ日時 | 2024-12-20 21:35:12 |
合計ジャッジ時間 | 2,589 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 34 |
ソースコード
a=int(input()) b=int(input()) c=list(map(int,input().split())) d=sorted(c) length=0 i=0 while length<a: if length+c[i]<a: length+=c[i] i+=1 print(i+1)