当前位置:网站首页>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;
}
边栏推荐
- My 2021
- [experience] install Visio on win11
- 什么是独立IP,独立IP主机怎么样?
- PDK process library installation -csmc
- PDK工艺库安装-CSMC
- 嵌入式面试题(一:进程与线程)
- 通讯录管理系统链表实现
- 应用安全系列之三十七:日志注入
- Auto. JS learning notes 17: basic listening events and UI simple click event operations
- Station B, Mr. Liu Er - multiple logistic regression, structure 7
猜你喜欢
[JVM] [Chapter 17] [garbage collector]
The usage and difference between strlen and sizeof
【SQL server速成之路】——身份验证及建立和管理用户账户
Analysis of grammar elements in turtle Library
B站刘二大人-反向传播
Promise summary
P2802 回家
Hongliao Technology: how to quickly improve Tiktok store
Li Chuang EDA learning notes 12: common PCB board layout constraint principles
Leetcode 701 insertion operation in binary search tree -- recursive method and iterative method
随机推荐
Installation de la Bibliothèque de processus PDK - csmc
Yunxiaoduo software internal test distribution test platform description document
29io stream, byte output stream continue write line feed
Garbage collector with serial, throughput priority and response time priority
Web服务连接器:Servlet
清除浮动的方式
(column 22) typical column questions of C language: delete the specified letters in the string.
【SQL server速成之路】——身份验证及建立和管理用户账户
P2802 回家
Download, install and use NVM of node, and related use of node and NRM
Problems encountered in installing mysql8 on MAC
c语言——冒泡排序
Li Chuang EDA learning notes 12: common PCB board layout constraint principles
[paper reading] nflowjs: synthetic negative data intensive anomaly detection based on robust learning
High quality coding tool clion
查询生产订单中某个(些)工作中心对应的标准文本码
[machine learning notes] univariate linear regression principle, formula and code implementation
Some easy-to-use tools make your essay style more elegant
26file filter anonymous inner class and lambda optimization
Analysis of grammar elements in turtle Library