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; }