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; } }
水题中的水题。。。。
#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; } }