当前位置:网站首页>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;
}边栏推荐
- 【经验】UltralSO制作启动盘时报错:磁盘/映像容量太小
- continue和break的区别与用法
- Rustdesk builds its own remote desktop relay server
- 【无标题】
- Installation de la Bibliothèque de processus PDK - csmc
- [paper reading] nflowjs: synthetic negative data intensive anomaly detection based on robust learning
- 養了只小猫咪
- 应用安全系列之三十七:日志注入
- How to use PHP string query function
- Summary of data sets in intrusion detection field
猜你喜欢

PDK工艺库安装-CSMC

嵌入式面试题(四、常见算法)

华为BFD的配置规范

B站刘二大人-线性回归 Pytorch

How to download GB files from Google cloud hard disk

PDK process library installation -csmc

(column 22) typical column questions of C language: delete the specified letters in the string.

Jushan database appears again in the gold fair to jointly build a new era of digital economy

Download, install and use NVM of node, and related use of node and NRM

B站刘二大人-Softmx分类器及MNIST实现-Lecture 9
随机推荐
Problems encountered in installing mysql8 on MAC
Baidu online AI competition - image processing challenge: the 8th program of handwriting erasure
28io stream, byte output stream writes multiple bytes
Wib3.0 leapfrogging, in leapfrogging (ง • ̀_•́) ง
H3C V7版本交换机配置IRF
Market development prospect and investment risk assessment report of China's humidity sensor industry from 2022 to 2028
Redis消息队列
Web Security (V) what is a session? Why do I need a session?
【经验】win11上安装visio
High quality coding tool clion
HCIA复习
After the project is released, index Html is cached
wib3.0 跨越,在跨越(ง •̀_•́)ง
Download, install and use NVM of node, and related use of node and NRM
Cannot build artifact 'test Web: War expanded' because it is included into a circular depend solution
查询生产订单中某个(些)工作中心对应的标准文本码
Yygh-11-timing statistics
Jushan database appears again in the gold fair to jointly build a new era of digital economy
My 2021
Station B, Mr. Liu Er - multiple logistic regression, structure 7