杭电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; }
相关文章推荐
- FastJSON使用心得——如何解析带中文或者数字key的数据
- OC字符串比较方法
- hibernate学习之table doesn't exists问题
- 灰盒测试
- Ubuntu - 硬盘分区、格式化、自动挂载配置 | Hard disk add new partition, format, auto mount in ubuntu
- POJ 1724 【存在附加约束的最短路问题】【优先队列】
- 静态测试和动态测试
- 思维方式决定成功(古人)
- yum
- iOS-常用技巧
- 配置resin服务
- ubuntu15.04 无线上网问题
- SQL server 2008数据库的备份与还原
- java计算器小程序
- hdu 1018 -Big Number(求n的阶乘的位数)
- 计算器
- C++那些细节--inline关键字
- 个人感觉十分好用的VIM教程
- 最大的K个数
- Linux搭建SSH