結果
| 問題 |
No.5 数字のブロック
|
| ユーザー |
Rute
|
| 提出日時 | 2020-03-04 21:53:34 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 230 bytes |
| コンパイル時間 | 101 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-10-14 00:33:22 |
| 合計ジャッジ時間 | 2,157 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 34 |
ソースコード
L = int(input())
A = list(map(int,input().split()))
now = 0
ans = 0
A.sort()
for i in range(len(L)):
if now < A:
now += A[i]
ans += 1
else:
print(ans)
break
if ans == len(L):
print(ans)
Rute