您的位置:首页 > 其它

hdu2317 Nasty Hacks

2015-10-29 21:15 274 查看
#include <stdio.h>

int main()

{

int n;

__int64 r, e, c;

scanf("%d", &n);

while(n--)

{

scanf("%I64d%I64d%I64d", &r, &e, &c);

if(e - c > r) printf("advertise\n");

else if(e - c == r) printf("does not matter\n");

else printf("do not advertise\n");

}

return 0;

}

心得:从没见过这么水的题,长了见识了= =
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: