当前位置:网站首页>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;
}
边栏推荐
- 华为路由器如何配置静态路由
- [Jiudu OJ 08] simple search x
- Station B Liu Erden - linear regression and gradient descent
- Market development prospect and investment risk assessment report of China's humidity sensor industry from 2022 to 2028
- H3C S5820V2_5830V2交换机IRF2堆叠后升级方法
- 29io stream, byte output stream continue write line feed
- C language bubble sort
- Redis message queue
- Game push: image / table /cv/nlp, multi-threaded start!
- 大型网站如何选择比较好的云主机服务商?
猜你喜欢
【论文代码】SML部分代码阅读
Mysql database master-slave cluster construction
SequoiaDB湖仓一体分布式数据库2022.6月刊
28io stream, byte output stream writes multiple bytes
HCIA复习
Game push image / table /cv/nlp, multi-threaded start
【论文阅读】NFlowJS:基于鲁棒学习的合成负数据密集异常检测
Memory and stack related concepts
Processes and threads
continue和break的区别与用法
随机推荐
[force buckle]43 String multiplication
[paper reading] nflowjs: synthetic negative data intensive anomaly detection based on robust learning
Auto.js学习笔记17:基础监听事件和UI简单的点击事件操作
Station B Liu Erden - linear regression and gradient descent
26file filter anonymous inner class and lambda optimization
First knowledge database
Station B, Master Liu Er - dataset and data loading
Text classification still stays at Bert? The dual contrast learning framework is too strong
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
Web service connector: Servlet
[Jiudu OJ 07] folding basket
Station B, Master Liu Er - back propagation
Quantitative description of ANC noise reduction
【经验】UltralSO制作启动盘时报错:磁盘/映像容量太小
什么是独立IP,独立IP主机怎么样?
[machine learning notes] univariate linear regression principle, formula and code implementation
Report on the competition status and investment decision recommendations of Guangxi hospital industry in China from 2022 to 2028
Station B, Mr. Liu Er - multiple logistic regression, structure 7
【课程笔记】编译原理
授予渔,从0开始搭建一个自己想要的网页