#include <bits/stdc++.h>
using namespace std;
int b,g;
int main()
{
cin>>b>>g;
if(b==g)
{
cout<<"Y";
}
else
{
cout<<"N";
}
cout<<endl<<b*g;
return 0;
}
1655 - 【入门】是不是正方形
于 2024-04-02 21:56:24 首次发布
#include <bits/stdc++.h>
using namespace std;
int b,g;
int main()
{
cin>>b>>g;
if(b==g)
{
cout<<"Y";
}
else
{
cout<<"N";
}
cout<<endl<<b*g;
return 0;
}