結果
問題 | No.2110 012 Matching |
ユーザー |
|
提出日時 | 2022-10-28 22:00:40 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 726 bytes |
コンパイル時間 | 1,542 ms |
コンパイル使用メモリ | 165,340 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-06 01:08:57 |
合計ジャッジ時間 | 2,717 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | WA * 11 |
ソースコード
#define _D321EBUG#include <bits/stdc++.h>using namespace std;#define endl "\n"typedef long long ll;typedef long double ld;typedef pair<int, int> pii;typedef pair<ll, ll> pll;const long double pi = acos(-1.0);const int INF = 1987654321;//int main(){#ifdef _DEBUGfreopen ("input.txt", "r", stdin);freopen("output.txt", "w", stdout);#endifios::sync_with_stdio(false);cin.tie(NULL);int T; cin >> T;while(T--){unsigned long long a, b, c; cin >> a >> b >> c;// cout << a << " " << b<< " " << c << endl;unsigned long long ans = 0;ans += 2*(b/2);ans += 2 * min(a, c);cout << ans << endl;}return 0;}