結果
| 問題 |
No.2110 012 Matching
|
| コンテスト | |
| ユーザー |
👑 Kazun
|
| 提出日時 | 2022-10-28 21:37:14 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 339 bytes |
| コンパイル時間 | 174 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 82,176 KB |
| 最終ジャッジ日時 | 2024-07-06 00:41:49 |
| 合計ジャッジ時間 | 2,084 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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