freopen
1 //#include <iostream> 2 //#include <cmath> 3 //using namespace std; 4 //int main(){ 5 // freopen("in.txt","r",stdin); 6 // freopen("out.txt","w",stdout); 7 // int temp,sum=0; 8 // while(cin>>temp){ 9 // cout<<temp<<" "<<endl; 10 // } 11 // 12 // return 0; 13 //} 14 //#include <iostream> 15 //#include <cmath> 16 //using namespace std; 17 //int main(){ 18 // freopen("in.txt","r",stdin); 19 // freopen("out.txt","w",stdout); 20 // string temp; 21 // while(cin>>temp){ 22 // cout<<temp[temp.find('o')]<<endl; 23 // } 24 // 25 // return 0; 26 //} 27 //#include <iostream> 28 //#include <cmath> 29 //using namespace std; 30 //int main(){ 31 // freopen("in.txt","r",stdin); 32 // freopen("out.txt","w",stdout); 33 // int temp,sum=0; 34 // while(cin>>temp){ 35 // if(temp%2==0){ 36 // cout<<-1; 37 // }else{ 38 // cout<<1; 39 // } 40 // } 41 // return 0; 42 //} 43 #include <iostream> 44 #include <cmath> 45 using namespace std; 46 int main(){ 47 string a; 48 freopen("in.txt","w",stdout); 49 cin>>a; 50 cout<<a; 51 fclose(stdout); 52 freopen("out.txt","w",stdout); 53 for(int i=0;i<a.size();i++){ 54 cout<<int(a[i]); 55 } 56 return 0; 57 }