POJ 3030 Nasty Hacks (模拟题)

题目:http://poj.org/problem?id=3030

思路:模拟题

#include 

using namespace std;



int main()
{
    int n;
    cin >> n;
    int r,e,c;
    for(int i=0;i)
    {
        cin >> r >> e >> c;
        if(r"advertise" <<endl;
        else if(r==e-c) cout << "does not matter" << endl;
        else  cout << "do not advertise" << endl;
    }
}

 

转载于:https://www.cnblogs.com/danielqiu/archive/2013/01/16/2862696.html

你可能感兴趣的:(POJ 3030 Nasty Hacks (模拟题))