delete pics to save space
This commit is contained in:
21
history_source/ccf 入门篇/U2/2.3.2.cpp
Normal file
21
history_source/ccf 入门篇/U2/2.3.2.cpp
Normal file
@ -0,0 +1,21 @@
|
||||
#include<iostream>
|
||||
#include<string>
|
||||
#include<sstream>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
char a;
|
||||
string x;
|
||||
stringstream b;
|
||||
b.flush();
|
||||
cin>>x;
|
||||
for(int i=0;i<x.size();i++){
|
||||
a=x[i];
|
||||
a=219-a;
|
||||
b<<a;
|
||||
}
|
||||
x="";
|
||||
b>>x;
|
||||
cout<<x<<endl;
|
||||
while(1==1);
|
||||
}
|
Reference in New Issue
Block a user