結果
| 問題 | No.2110 012 Matching |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-10-28 21:35:13 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 121 ms / 2,000 ms |
| + 266µs | |
| コード長 | 230 bytes |
| 記録 | |
| コンパイル時間 | 232 ms |
| コンパイル使用メモリ | 96,240 KB |
| 実行使用メモリ | 84,608 KB |
| 最終ジャッジ日時 | 2026-08-08 19:15:03 |
| 合計ジャッジ時間 | 3,732 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 11 |
ソースコード
import sys input = sys.stdin.readline t = int(input()) for i in range(t): a,b,c = map(int,input().split()) ans = 0 x = min(a,c) ans += x*2 + 2*(b//2) b %= 2 a -= x c -= x y = min(a,b) ans += y + c//2 print(ans)