poj3030
来源:互联网 发布:金山云微盘分析软件 编辑:程序博客网 时间:2024/06/03 14:58
题目大意:
输入r,e,c
e-c>r则输出advertise
e-c==r则输出does not matter
e-c<r则输出do not advertise
非常的水,没啥感想
#include<iostream> #include<Cstdio>using namespace std; int main() { int r, e, c, size;scanf("%d", &size);while(size--){scanf("%d%d%d", &r, &e, &c);if(e- c > r)cout << "advertise" << endl;else if(e - c == r)cout << "does not matter" << endl;elsecout << "do not advertise" << endl;}}
0 0
- poj3030
- poj3030
- poj3030
- poj3030
- POJ3030——Nasty Hacks
- POJ3030,Nasty Hacks,每天早上水一题有益身心健康
- 语音特征参数MFCC计算的详细过程
- poj3983
- poj1656
- poj2027
- 宜昌市住建委.宜昌市房管局举办房交会藏"猫腻”?
- poj3030
- Linux Oracle Database Environment Set sample
- Substring with Concatenation of All Words
- [MAC OS X] mds_stores 100% CPU usage
- How to: Get Spotlight processes back under control when CPU usage goes crazy
- Xsolla 解读中国手机游戏支付方式
- 系统架构学习日志2-Log structured vs Journaling File System
- CRecordset类
- AlphaDict 软件发布