From f989fa0cbeb91510d6d63a50ca13dee60e96b5e9 Mon Sep 17 00:00:00 2001 From: ShazidMahsrafi Date: Tue, 18 Jul 2023 13:15:38 +0600 Subject: [PATCH] initial commit --- 136A Presents/136A.cpp | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 136A Presents/136A.cpp diff --git a/136A Presents/136A.cpp b/136A Presents/136A.cpp new file mode 100644 index 0000000..773e17a --- /dev/null +++ b/136A Presents/136A.cpp @@ -0,0 +1,33 @@ +#include +using namespace std; +using ll = long long; + + +void solve() +{ + mapm; + int n; + cin>>n; + for(int i=1; i<=n; ++i) + { + int x; + cin>>x; + m[x]=i; + } + for(auto it: m) + { + cout<> TC; + //cin.ignore(); + while (TC--) solve(); +} \ No newline at end of file