Untitled

 avatar
unknown
c_cpp
a year ago
228 B
5
Indexable
#include <iostream>
using namespace std;
long long pisun(int n, int tvou) {
	int sum = (n + tvou)/2;
	
	return sum;
}



int main()
{
	int piska;
	int tvou;
	cin >> piska >> tvou;
	cout << pisun(piska, tvou);
}
Editor is loading...
Leave a Comment