結果
| 問題 | No.2028 Even Choice |
| コンテスト | |
| ユーザー |
ikoma
|
| 提出日時 | 2022-08-05 22:14:35 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 151 bytes |
| 記録 | |
| コンパイル時間 | 350 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 112,256 KB |
| 最終ジャッジ日時 | 2026-04-04 22:04:21 |
| 合計ジャッジ時間 | 2,638 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