# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1249047 | exoworldgd | scanf 함수 5 (BSC_0_7) | C++20 | 0 ms | 328 KiB |
#pragma GCC optimize("O5")
#pragma GCC target("avx2,bmi,bmi2,popcnt,lzcnt")
#include <bits/stdc++.h>
#define int long long
#define exoworldgd cin.tie(0)->sync_with_stdio(0),cout.tie(0)
using namespace std;
signed main(void) {
exoworldgd;
int a,b;
cin >> a >> b;
if ((a+b)&1) cout << fixed << setprecision(1) << (double)(a+b)/2;
else cout << (a+b)/2;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |