結果
問題 | No.2110 012 Matching |
ユーザー |
|
提出日時 | 2022-10-30 02:40:59 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 273 bytes |
コンパイル時間 | 266 ms |
コンパイル使用メモリ | 82,292 KB |
実行使用メモリ | 77,352 KB |
最終ジャッジ日時 | 2024-07-06 22:15:21 |
合計ジャッジ時間 | 4,882 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | WA * 11 |
ソースコード
#yuki2110T = int(input())def sol(a, b, c):res = 0res += min(a,c)*2res += 2*(b//2)b %= 2a -= min(a,c)c -= min(a,c)if a > 0:res += breturn resfor _ in range(T):a, b, c = map(int, input().split())print(sol(a,b,c))