uva 11044 - Searching for Nessy

水题中的水题。。。。

#include<iostream>
using namespace std;
int main(){
    int n,m;
    int    t;
    cin>>t;
    while(t--){
        cin>>n>>m;
        int temp1=n/3;
        int temp2=m/3;
        cout<<temp1*temp2<<endl;
    }
}

 

posted on 2014-01-10 21:33  云在心  阅读(98)  评论(0)    收藏  举报

导航