#include<iostream>
using namespace std;
int main()
{
cout<<"*"<<"*"<<"*"<<endl;
cout<<"*"<<"*"<<"*"<<endl;
cout<<"*"<<"*"<<"*"<<endl;
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int n,m;
cin>>n>>m;
cout<<n*m;
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
if(n>=90&&n<=100)
{
cout<<"A";
}
else if(n<=89&&n>=77)
{
cout<<"B";
}
else if(n>=67&&n<=76)
{
cout<<"C";
}
else if(n<=66&&n>=60)
{
cout<<"D";
}
else if(n>=0&&n<=59)
{
cout<<"E";
}
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
for(int i=0;i<n;i++)
{
int a;
cin>>a;
if(a>a)
{
cout<<"Y"<<endl;
}
else
{
cout<<"N"<<endl;
}
}
return 0;
}
改
#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
int min = 100;
for(int i = 0;i<n;i++)
{
int a;
cin>>a;
if(a<min)
{
min = a;
}
if(min<a)
{
cout<<"Y"<<endl;
}
else
{
cout<<"N"<<endl;
}
}
}
#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
int g = n%10;
int s = n/10%10;
int b = n/100%10;
int q = n/1000%10;
if(g+s+b+q == 20)
{
cout<<n;
}
return 0;
}
改
#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
while(true)
{
int g = n%10;
int s = n/10%10;
int b = n/100%10;
int q = n/1000%10;
if(g+s+b+q == 20)
{
cout<<n<<endl;
break;
}
n++;
}
}