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
");
        else if((e-r) == a)
            printf("does not matter
");
        else
            printf("do not advertise
");
    }
    return 0;
}
View Code
原文地址:https://www.cnblogs.com/gabygoole/p/4588473.html