[POJ]3030(水题)

#include <stdio.h>
#include <stdlib.h>

int main()
{
//printf("Hello world!\n");
int n;
scanf("%d",&n);
while(n!=0)
{
int x,y,z;
scanf("%d%d%d",&x,&y,&z);
if(x>(y-z))
printf("do not advertise\n");
else if(x==(y-z))
printf("does not matter\n");
else
printf("advertise\n");
n--;
}
return 0;
}

posted @ 2013-04-04 13:09  天晴会下雨  阅读(123)  评论(0)    收藏  举报