mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
16 lines
330 B
C++
16 lines
330 B
C++
|
#include <stdio.h>
|
||
|
int main()
|
||
|
{
|
||
|
int a,r,e,c,sum,s;
|
||
|
scanf("%d",&a);
|
||
|
while(a--)
|
||
|
{
|
||
|
s=0; sum=0;
|
||
|
scanf("%d%d%d",&r,&e,&c);
|
||
|
s=e-c;
|
||
|
if(s>r) printf("advertise\n");
|
||
|
else if(s==r) printf("does not matter\n");
|
||
|
else if(s<r) printf("do not advertise\n");
|
||
|
}
|
||
|
}
|