結果
問題 | No.2110 012 Matching |
ユーザー |
![]() |
提出日時 | 2022-10-28 22:11:55 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 160 ms / 2,000 ms |
コード長 | 282 bytes |
コンパイル時間 | 164 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 77,096 KB |
最終ジャッジ日時 | 2024-07-06 01:21:47 |
合計ジャッジ時間 | 2,937 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 11 |
ソースコード
from sys import stdininput=lambda :stdin.readline()[:-1]def solve():a,b,c=map(int,input().split())ans=0x=min(a,c)ans+=2*xc-=xa-=xans+=2*(b//2)b%=2ans+=(c//2)if b>0 and a>0:ans+=1print(ans)for _ in range(int(input())):solve()