結果
| 問題 | No.2028 Even Choice |
| コンテスト | |
| ユーザー |
ikoma
|
| 提出日時 | 2022-08-05 22:14:35 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 151 bytes |
| 記録 | |
| コンパイル時間 | 234 ms |
| コンパイル使用メモリ | 96,104 KB |
| 実行使用メモリ | 120,064 KB |
| 最終ジャッジ日時 | 2026-08-28 05:08:12 |
| 合計ジャッジ時間 | 5,280 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 21 WA * 7 |
ソースコード
import sys input = sys.stdin.readline N,K=map(int,input().split()) A=list(map(int,input().split())) B = sorted(A[1:], reverse=True) print(sum(B[:K]))
ikoma