結果
| 問題 | No.2424 Josouzai |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-08-18 23:04:10 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 203 bytes |
| 記録 | |
| コンパイル時間 | 550 ms |
| コンパイル使用メモリ | 84,968 KB |
| 実行使用メモリ | 115,392 KB |
| 最終ジャッジ日時 | 2026-05-22 11:15:52 |
| 合計ジャッジ時間 | 4,171 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 33 |
ソースコード
N,K = map(int,input().split()) A = list(map(int,input().split())) A.sort() ans = 0 import sys for i in range(N): a = A[i] if now + a > K: print(i,K - now) exit() else: now += a print(N,K - now)