#44222: C++解法和思路


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

學校 : 臺北市私立延平高級中學
編號 : 276272
來源 : [203.72.178.1]
最後登入時間 :
2025-10-07 16:36:49

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

#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;
    }
}