当前位置:网站首页>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;
}边栏推荐
- Hongliao Technology: Liu qiangdong's "heavy hand"
- YYGH-11-定时统计
- 局域网同一个网段通信过程
- P2802 go home
- 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
- 实践分享:如何安全快速地从 Centos迁移到openEuler
- Garbage collector with serial, throughput priority and response time priority
- 进程和线程
- How can large websites choose better virtual machine service providers?
- Construction of yolox based on paste framework
猜你喜欢
![[force buckle]43 String multiplication](/img/fd/de63e6185af4b6293e748aaf7cee29.jpg)
[force buckle]43 String multiplication

Practice sharing: how to safely and quickly migrate from CentOS to openeuler

The usage and difference between strlen and sizeof

Station B Liu Erden linear regression pytoch

H3C V7版本交换机配置IRF
[SQL Server fast track] - authentication and establishment and management of user accounts

Yygh-11-timing statistics

P2802 回家

HCIA复习

Installation de la Bibliothèque de processus PDK - csmc
随机推荐
网络协议模型
Embedded interview questions (I: process and thread)
Game push image / table /cv/nlp, multi-threaded start
Hongliao Technology: how to quickly improve Tiktok store
J'ai un chaton.
Implementation of linked list in address book management system
Yunxiaoduo software internal test distribution test platform description document
Clear floating mode
华为BFD的配置规范
27io stream, byte output stream, OutputStream writes data to file
26file filter anonymous inner class and lambda optimization
Remember an error in MySQL: the user specified as a definer ('mysql.infoschema '@' localhost ') does not exist
Auto. JS learning notes 17: basic listening events and UI simple click event operations
[JVM] [Chapter 17] [garbage collector]
Station B Liu Erden linear regression pytoch
[Jiudu OJ 07] folding basket
P2802 回家
Embedded interview questions (IV. common algorithms)
Is it difficult for an information system project manager?
Pay attention to the details of pytoch code, and it is easy to make mistakes