poj3030

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

int main()
{
    int n,r,e,a;
    scanf("%d",&n);
    while(n--)
    {
        scanf("%d %d %d",&r,&e,&a);
        if((e-r) > a)
            printf("advertise\n");
        else if((e-r) == a)
            printf("does not matter\n");
        else
            printf("do not advertise\n");
    }
    return 0;
}
View Code

 

posted @ 2015-06-19 14:08  Gabyler  阅读(119)  评论(0编辑  收藏  举报