delete pics to save space
This commit is contained in:
20
history_source/ccf 入门篇/U3/3.2.4.cpp
Normal file
20
history_source/ccf 入门篇/U3/3.2.4.cpp
Normal file
@ -0,0 +1,20 @@
|
||||
#include<iostream>
|
||||
#include<cmath>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
int a;
|
||||
while(true)
|
||||
{
|
||||
cin>>a;
|
||||
if((a%123>=97)&&(a%123<=122)) cout<<char(a%123)<<endl;
|
||||
else
|
||||
{
|
||||
if((a%91>=65)&&(a%91<=90)) cout<<char(a%91)<<endl;
|
||||
else
|
||||
{
|
||||
cout<<"*"<<endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user