当前位置:网站首页>Title 1093: character reverse order
Title 1093: character reverse order
2022-07-06 05:52:00 【Python's path to immortality】
The time limit : 1Sec Memory limit : 64MB Submit : 28965 solve : 15225
Title Description
Put a string str It's the reverse of what we're talking about , And the output .str Not more than 100 Characters .
Input
Input includes one line . The first line of input string .
Output
Output the converted String in reverse order .
Sample input copy
I am a student
Sample output copy
tneduts a ma I
#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int main()
{
string str;
getline(cin,str);// The input line direct cin>>str Only strings before spaces can be received
reverse(str.begin(),str.end());
cout<<str;
return 0;
}边栏推荐
- Is it difficult for an information system project manager?
- Sequoiadb Lake warehouse integrated distributed database, June 2022 issue
- Wib3.0 leapfrogging, in leapfrogging (ง • ̀_•́) ง
- Memory and stack related concepts
- Report on the competition status and investment decision recommendations of Guangxi hospital industry in China from 2022 to 2028
- YYGH-11-定时统计
- Database: ODBC remote access SQL Server2008 in oracel
- Li Chuang EDA learning notes 12: common PCB board layout constraint principles
- [force buckle]43 String multiplication
- How to download GB files from Google cloud hard disk
猜你喜欢

Memory and stack related concepts

【无标题】

Application Security Series 37: log injection
![[experience] install Visio on win11](/img/f5/42bd597340d0aed9bfd13620bb0885.png)
[experience] install Visio on win11

【经验】win11上安装visio

Raised a kitten

Web service connector: Servlet

Promise summary
![[paper reading] nflowjs: synthetic negative data intensive anomaly detection based on robust learning](/img/9c/2753f68ecec3555aaca23800dada1e.png)
[paper reading] nflowjs: synthetic negative data intensive anomaly detection based on robust learning

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
随机推荐
[machine learning notes] univariate linear regression principle, formula and code implementation
Implementation of linked list in address book management system
[imgui] unity MenuItem shortcut key
Zoom through the mouse wheel
网络协议模型
Query the standard text code corresponding to a work center (s) in the production order
大型网站如何选择比较好的云主机服务商?
How to download GB files from Google cloud hard disk
P2802 回家
类和对象(一)this指针详解
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
MIT6.s081-2020 Lab2 System Calls
[paper reading] nflowjs: synthetic negative data intensive anomaly detection based on robust learning
C language learning notes (mind map)
入侵检测领域数据集总结
Closure, decorator
Station B, Mr. Liu Er - multiple logistic regression, structure 7
27io stream, byte output stream, OutputStream writes data to file
ARTS Week 25
AUTOSAR from getting started to becoming proficient (10) - embedded S19 file analysis