https://www.acmicpc.net/problem/5063
#include <iostream>
using namespace std;
int main() {
int n;
cin>>n;
for(int i=0;i<n;i++){
int r,e,c;
cin>>r>>e>>c;
int sum=e-c;
if(r>sum) cout<<"do not advertise"<<"\n";
else if(r<sum) cout<<"advertise"<<"\n";
else cout<<"does not matter"<<"\n";
}
}