#include <iostream> #include <utility> #include <vector> #include <algorithm> using namespace std; int main() { vector<pair<int, string>> p; int n, no; string name; cin >> n; for(int i=0;i<n;i++) { cin >> no >> name; p.push_back(make_pair(no, name)); } for(int i=0; i<p.size(); i++) cout << p[i].first << " " <<p[i].second << endl; sort(p.begin(), p.end()); for(int i=0; i<p.size(); i++) cout << p[i].first << " " <<p[i].second << endl; return 0; }
Güncel ve en iyi yabancı filmleri yüksek görüntü kalitesinde, Türkçe dublaj ve altyazı seçenekleriyle filmleri full izleyin. (2024) Dwayne Kwok
Amy, I just baked these and they are very good. Mildly sweet flavor with wonderful texture. Loved the convenience of the one bowl preparation, and the fact that I keep most of the suggested ingredients on hand will make these a handy go to. I am not a baker, and your tips and recommendations are much appreciated. Lacy Esshaki