Submission #677624

# Submission time Handle Problem Language Result Execution time Memory
677624 2023-01-04T03:40:05 Z pbhat scanf 함수 5 (BSC_0_7) C++14
100 / 100
1 ms 296 KB
#include <bits/stdc++.h>
using namespace std;

void solve() {
    int a, b;
    cin >> a >> b;
    cout << (float(a+b)/2) << "\n";
}

int main() {
    solve();
    return 0;
}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 212 KB Output is correct
2 Correct 0 ms 212 KB Output is correct
3 Correct 0 ms 212 KB Output is correct
4 Correct 0 ms 296 KB Output is correct
5 Correct 0 ms 212 KB Output is correct
6 Correct 0 ms 212 KB Output is correct
7 Correct 0 ms 212 KB Output is correct
8 Correct 0 ms 212 KB Output is correct
9 Correct 1 ms 220 KB Output is correct
10 Correct 0 ms 224 KB Output is correct