题目:http://poj.org/problem?id=3030
思路:模拟题
#include <iostream> using namespace std; int main() { int n; cin >> n; int r,e,c; for(int i=0;i<n;i++) { cin >> r >> e >> c; if(r<e-c) cout << "advertise" <<endl; else if(r==e-c) cout << "does not matter" << endl; else cout << "do not advertise" << endl; } }