hdu 1408 acdearm "Money, Money, Money"

hdu 1408 acdearm "Money, Money, Money"
#include<stdio.h>
int main()
{
    long long int x;
    while(~scanf("%lld",&x))
    {
        if(x%2==0) printf("0 0\n");
        else printf("2 %lld\n",x+2);
    }
    return 0;
}

版权声明:本文为博主原创文章,未经博主允许不得转载。