結果
| 問題 | No.5 数字のブロック |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-06-17 23:25:04 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 229 bytes |
| 記録 | |
| コンパイル時間 | 341 ms |
| コンパイル使用メモリ | 21,412 KB |
| 実行使用メモリ | 15,872 KB |
| 最終ジャッジ日時 | 2026-07-12 07:03:44 |
| 合計ジャッジ時間 | 5,395 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 34 |
ソースコード
L = int(input())
N = int(input())
num = list(map(int, input().split(' ')))
point = 0
for i in range(len(num)):
if L > 0:
point += 1
max_num = max(num)
print(max_num)
L -= max_num
print(point)