当前位置:网站首页>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;
}
边栏推荐
- Market development prospect and investment risk assessment report of China's humidity sensor industry from 2022 to 2028
- Garbage collector with serial, throughput priority and response time priority
- Mysql database master-slave cluster construction
- Redis消息队列
- Station B Liu Erden linear regression pytoch
- 什么是独立IP,独立IP主机怎么样?
- 嵌入式面试题(四、常见算法)
- 如何在业务代码中使用 ThinkPHP5.1 封装的容器内反射方法
- AUTOSAR from getting started to becoming proficient (10) - embedded S19 file analysis
- 29io stream, byte output stream continue write line feed
猜你喜欢
Remember an error in MySQL: the user specified as a definer ('mysql.infoschema '@' localhost ') does not exist
How can large websites choose better virtual machine service providers?
Clear floating mode
Report on market depth analysis and future trend prediction of China's arsenic trioxide industry from 2022 to 2028
Easy to understand IIC protocol explanation
26file filter anonymous inner class and lambda optimization
Report on the competition status and investment decision recommendations of Guangxi hospital industry in China from 2022 to 2028
ArcGIS application foundation 4 thematic map making
[experience] install Visio on win11
SequoiaDB湖仓一体分布式数据库2022.6月刊
随机推荐
Problems encountered in installing mysql8 on MAC
Redis6 cluster setup
A master in the field of software architecture -- Reading Notes of the beauty of Architecture
AUTOSAR from getting started to becoming proficient (10) - embedded S19 file analysis
Text classification still stays at Bert? The dual contrast learning framework is too strong
[paper reading] nflowjs: synthetic negative data intensive anomaly detection based on robust learning
Closure, decorator
Yygh-11-timing statistics
华为路由器如何配置静态路由
华为路由器忘记密码怎么恢复
Construction of yolox based on paste framework
【论文代码】SML部分代码阅读
巨杉数据库再次亮相金交会,共建数字经济新时代
Is it difficult for an information system project manager?
29io stream, byte output stream continue write line feed
Game push image / table /cv/nlp, multi-threaded start
【无标题】
Web Security (VI) the use of session and the difference between session and cookie
入侵检测领域数据集总结
Implementation of linked list in address book management system