题解:长方体or正方体(but是C++)辞e不是慈e2026-03-24 16:29:04发布于:浙江3阅读0回复0点赞嗯对 如此简单 #include <bits/stdc++.h> using namespace std; int main(){ int a,b,h;cin>>a>>b>>h;//a为长,b为宽,h为高 if(a==b&&b==h)cout<<"cube"<<endl; else cout<<"cuboid"<<endl;} 有帮助,赞一个去预览0/2000发布这里空空如也
有帮助,赞一个