您的位置:首页 > 其它

杭电acm2317

2015-09-20 19:26 323 查看
这样的水题做他干嘛,我还提交5次才ac,马丹,我是来读英语来了

#include <stdio.h>

int main(){

int n;
long a, b, c;
scanf("%d", &n);
while(n--){
scanf("%ld%ld%ld", &a, &b, &c);
if(b-c>a) printf("advertise\n");
if(b-c==a) printf("does not matter\n");
if(b-c<a) printf("do not advertise\n");
}

return 0;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: