Pages

Friday, July 29, 2011

d485: 我愛偶數


#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