题目大意:
输入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;
else
cout << "do not advertise" << endl;
}
}