Untitled
Anonymous
c_cpp
02/08/2024 5:36 PM
304 B
19
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