#44222: C++解法和思路


yp11351280@yphs.tp.edu.tw (810-43韓睿哲)


[邊長/聲納範圍(單邊)]*[邊長/聲納(單邊)]

#include<iostream>
using namespace std; 
int main(){
    int t,n,m;
    cin>>t;
    for(int i=1;i<=t;i++){
        cin>>n>>N;
        cout<<(n/3)*(n/3)<<endl;
    }
}