Submission #1249047

#TimeUsernameProblemLanguageResultExecution timeMemory
1249047exoworldgdscanf 함수 5 (BSC_0_7)C++20
100 / 100
0 ms328 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 timeMemoryGrader output
Fetching results...