当前位置:网站首页>/*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;
}
边栏推荐
- Hands on deep learning (III) -- Torch Operation (sorting out documents in detail)
- MPLS: multi protocol label switching
- 基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 2
- Static comprehensive experiment ---hcip1
- Exercise 9-5 address book sorting (20 points)
- Exercise 8-10 output student grades (20 points)
- Custom type: structure, enumeration, union
- 用数据告诉你高考最难的省份是哪里!
- Summary of several job scheduling problems
- 7-17 crawling worms (15 points)
猜你喜欢

六月份阶段性大总结之Doris/Clickhouse/Hudi一网打尽

Four characteristics and isolation levels of database transactions

Reprint: summation formula of proportional series and its derivation process

Rhcsa day 10 operation

【Day2】 convolutional-neural-networks

PHP code audit 3 - system reload vulnerability
如果不知道這4種緩存模式,敢說懂緩存嗎?

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

Tables in the thesis of latex learning

基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 2
随机推荐
Debug:==42==ERROR: AddressSanitizer: heap-buffer-overflow on address
Software sharing: the best PDF document conversion tool and PDF Suite Enterprise version sharing | with sharing
Basic principle of servlet and application of common API methods
Es entry series - 6 document relevance and sorting
Exercise 8-7 string sorting (20 points)
IPv6 comprehensive experiment
今日睡眠质量记录78分
system design
Occasional pit compiled by idea
Some summaries of the third anniversary of joining Ping An in China
Three schemes of ZK double machine room
Deep learning 500 questions
Basic data types of MySQL
Static comprehensive experiment ---hcip1
Rhcsa learning practice
C language structure to realize simple address book
183 sets of free resume templates to help everyone find a good job
Velodyne configuration command
Exercise 7-3 store the numbers in the array in reverse order (20 points)
2021-08-11 function pointer