当前位置:网站首页>/*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;
}
边栏推荐
- Whether a person is reliable or not, closed loop is very important
- 【Day2】 convolutional-neural-networks
- 2021-08-11 function pointer
- Dos:disk operating system, including core startup program and command program
- Rhcsa12
- Exercise 7-8 converting strings to decimal integers (15 points)
- Ruby time format conversion strftime MS matching format
- Intelligent gateway helps improve industrial data acquisition and utilization
- 基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 1
- Online troubleshooting
猜你喜欢

Rhcsa day 10 operation

Jianzhi offer 04 (implemented in C language)

A little feeling

DCL statement of MySQL Foundation

Introduction to tree and binary tree

【Day1】 deep-learning-basics

Online troubleshooting

基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 1

Some summaries of the third anniversary of joining Ping An in China

Dynamic memory management
随机推荐
Rhsca day 11 operation
【Day2】 convolutional-neural-networks
Rhcsa day 10 operation
Evolution from monomer architecture to microservice architecture
Latex error: missing delimiter (. Inserted) {\xi \left( {p,{p_q}} \right)} \right|}}
MongoDB数据日期显示相差8小时 原因和解决方案
Whether a person is reliable or not, closed loop is very important
Three schemes of ZK double machine room
Exercise 8-7 string sorting (20 points)
Service developers publish services based on EDAs
Deep learning 500 questions
Online troubleshooting
C language - stack
Occasional pit compiled by idea
Realsense of d435i, d435, d415, t265_ Matching and installation of viewer environment
2. Data type
Kotlin: collection use
When I forget how to write SQL, I
MySQL case
Check 15 developer tools of Alibaba