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;
}

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

posted @ 2015-07-14 16:11  xryz  阅读(95)  评论(0编辑  收藏  举报