#3756: WALINE1


chy811533 (打信長就像打手槍手越快(300)出來的越快)



#include <iostream>

using namespace std;

int main()
{
 long long int a,b,c,d,e,g;
    while(cin>>a)
    {
    for (a=1;a<d;a++)
    {
    cin>>b>>c;
    g=b*c*812/1000+((b*c)%250!=0);   

    e=(b/2*c)*6/10+(b/2*c%5!=0)+(b-b/2)*c;   

    if (e>g)
    cout<<"8-12=-4"<<endl;
    if(e<g)
    cout<<": )"<<endl;
    if (e==g)
    cout<<"SAME"<<endl;
        }                
    }
    return 0;
}
哪錯阿

WA地1行

可是我自己測都對耶