#include <iostream> #include <list> int main() { std::list<int> myList = {10, 20, 30, 40, 50}; // پیمایش معکوس با استفاده از crbegin و crend for (auto it = myList.crbegin(); it != myList.crend(); ++it) { std::cout << *it << " "; } return 0; }