Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
37011 C++|刘一阳 点和正方形的关系 C++ 通过 0 MS 240 KB 196 2024-01-18 15:46:56

Tests(1/1):


#include<iostream> using namespace std; int main() { int x,y; cin>>x>>y; if(x==y) cout<<"yes"; else if(x-y==x||y-x==y||x-y==2*x||x-y==2*y) cout<<"yes"; else cout<<"no"; return 0; }


测评信息: