Wrong Answer
Code
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
void solve(){
int n, m, k; cin >> n >> m >> k;
int ans = 2*(n/2 + m/2 + k/2);
if (n & 1 || m & 1 || k & 1) ans++;
cout << ans << '\n';
}
int main(){int t; cin >> t; while (t--) solve();}
Information
- Submit By
- Type
- Submission
- Problem
- P1195 B. Palindrome
- Contest
- Brain Booster #10
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2025-06-13 15:35:12
- Judged At
- 2025-06-13 15:35:12
- Judged By
- Score
- 50
- Total Time
- 315ms
- Peak Memory
- 1.52 MiB