2 条题解

  • 1
    @ 2025-1-20 11:26:54
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int a,b,c;
    	cin>>a>>b>>c;
    	if(a*a<b*c) cout<<"RECTANGLE";
    	if(a*a>b*c) cout<<"SQUARE";
    	if(a*a==b*c) cout<<"SAME";
    	return 0;
    }
    
    • 0
      @ 2025-10-11 19:00:18

      #include<bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; a=aa; c=cb; if(c<a) { cout<<"SQUARE"; } else { if(c==a) { cout<<"SAME"; } else { if(c>a) { cout<<"RECTANGLE"; } } } return 0; }

      • 1

      信息

      ID
      14
      时间
      1000ms
      内存
      64MiB
      难度
      5
      标签
      递交数
      24
      已通过
      15
      上传者