#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<a*b;
return 0;
}
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
int a;
cin>>a;
if(a%1 == a)
{
cout<<"no";
}
else
{
cout<<"yes";
}
return 0;
}
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
int n,k;
cin>>n>>k;
int sim;
for(int i = 0;i<=n;i++)
{
int g = i%10;
int s = i/10%10;
int b = i/100%10;
if(i/7 == 0||g == 7||s == 7||b == 7)
{
sim = sim + i;
}
}
cout<<sim;
return 0;
}
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
int n;
cin>>n;
int sim;
for(int i = n;i<=0;i--)
{
for(int j = i;i<=0;j--)
{
if(i/j == 0)
{
sim = sim+i;
}
}
if(sim>=2)
{
cout<<i;
return 0;
}
else
{
sim = 0;
}
}
}
文章来源:https://uudwc.com/A/gVbxn
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<b<<" "<<a;
}文章来源地址https://uudwc.com/A/gVbxn