結果
| 問題 |
No.3130 Twin's Add Max Min Game
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2025-04-26 12:01:44 |
| 言語 | cLay (20241019-1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 168 bytes |
| コンパイル時間 | 6,568 ms |
| コンパイル使用メモリ | 221,520 KB |
| 実行使用メモリ | 10,316 KB |
| 最終ジャッジ日時 | 2025-04-26 12:01:55 |
| 合計ジャッジ時間 | 10,382 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 54 WA * 2 |
ソースコード
ll@N,@A[N],c[3]{};sortA(N,A);rep(N){string@S;c[S[0]<98?0:S[1]/98+1]++;}wt(*c==N?sum(A(N)):c[1]==N?max(A(N)):c[2]==N?0:min(sum(A(*c-1))+A[*c+c[1]-1],c[2]?A[N-c[2]]:MD));