当前位置:网站首页>/*Write a loop to output the elements of the list container in reverse order*/
/*Write a loop to output the elements of the list container in reverse order*/
2022-07-04 10:26:00 【qq_ fifty-eight million seven hundred and thirty-six thousand t】
#include<list>
#include<iostream>
int main(void)
{
std::list<string> strs; string str;
while (cin >> str)
strs.push_back(str);
for (std::list<string>::iterator it = strs.end(); it != strs.begin(); )
cout << *--it;
return 0;
}
边栏推荐
- Online troubleshooting
- RHCE - day one
- What is an excellent architect in my heart?
- Exercise 9-3 plane vector addition (15 points)
- If the uniapp is less than 1000, it will be displayed according to the original number. If the number exceeds 1000, it will be converted into 10w+ 1.3k+ display
- Work order management system OTRs
- Two way process republication + routing policy
- Realsense of d435i, d435, d415, t265_ Matching and installation of viewer environment
- leetcode729. My schedule 1
- Rhcsa operation
猜你喜欢

Recursion and divide and conquer strategy

Devop basic command

How can Huawei online match improve the success rate of player matching
If you don't know these four caching modes, dare you say you understand caching?

Hands on deep learning (III) -- Torch Operation (sorting out documents in detail)

Use the data to tell you where is the most difficult province for the college entrance examination!

Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 1

Four characteristics and isolation levels of database transactions

转载:等比数列的求和公式,及其推导过程

Three schemes of ZK double machine room
随机推荐
Rhsca day 11 operation
2021-08-10 character pointer
Rhcsa - day 13
Machine learning -- neural network (IV): BP neural network
Reprint: summation formula of proportional series and its derivation process
The future education examination system cannot answer questions, and there is no response after clicking on the options, and the answers will not be recorded
基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 2
Devop basic command
Rhcsa12
Dynamic memory management
有老师知道 继承RichSourceFunction自定义读mysql怎么做增量吗?
Reasons and solutions for the 8-hour difference in mongodb data date display
VLAN part of switching technology
Realsense d435 d435i d415 depth camera obtains RGB map, left and right infrared camera map, depth map and IMU data under ROS
Exercise 9-5 address book sorting (20 points)
Delayed message center design
Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 1
If the uniapp is less than 1000, it will be displayed according to the original number. If the number exceeds 1000, it will be converted into 10w+ 1.3k+ display
Does any teacher know how to inherit richsourcefunction custom reading Mysql to do increment?
[FAQ] summary of common causes and solutions of Huawei account service error 907135701