ZeroJudge & UVa Online Judge answers
#include using namespace std; int main() { int a,b,evens_num; cin>>a>>b; evens_num = abs(a-b)/2; if(a%2==0 || b%2==0) evens_num++; cout< return 0; }
No comments:
Post a Comment