Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126413 王培用 比大小 C++ Compile Error 0 MS 0 KB 203 2025-07-18 16:53:13

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:12:7: error: lvalue required as left operand of assignment
 if(a*a=b*c){
       ^