結果
| 問題 | No.2110 012 Matching |
| コンテスト | |
| ユーザー |
👑 Kazun
|
| 提出日時 | 2022-10-28 21:37:14 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 339 bytes |
| 記録 | |
| コンパイル時間 | 172 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 87,424 KB |
| 最終ジャッジ日時 | 2026-03-27 11:05:19 |
| 合計ジャッジ時間 | 1,559 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 11 |
ソースコード
def solve():
A,B,C=map(int,input().split())
ans=0
X=min(A,C); ans=2*X
A-=X; C-=X
ans+=2*(B//2); B%=2
ans+=min(A,B)
return ans
#==================================================
import sys
input=sys.stdin.readline
write=sys.stdout.write
T=int(input())
write("\n".join(map(str,[solve() for _ in range(T)])))
Kazun