Untitled

mail@pastecode.io avatar
unknown
c_cpp
8 months ago
207 B
1
Indexable
Never

#include <iostream>
using namespace std;

long long fac(int a, int b) {
	int ar = 0;
	ar = (a + b) / 2;
	return ar;	
}

int main()
{
	int a;
	int b;
	cin >> a >> b;
	cout << fac(a, b);
}
Leave a Comment