From 1da658c871b2dc762de97eabf86f6c9d78dd9107 Mon Sep 17 00:00:00 2001 From: Jihoon Lee Date: Mon, 17 Jun 2024 17:30:43 +0900 Subject: [PATCH] Add 15234.cpp --- 15xxx/15234.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 15xxx/15234.cpp diff --git a/15xxx/15234.cpp b/15xxx/15234.cpp new file mode 100644 index 00000000..d05c7bdb --- /dev/null +++ b/15xxx/15234.cpp @@ -0,0 +1,24 @@ +#include +#include +#include +using namespace std; + +void solve(void) { + int n, k; cin >> n >> k; + vector v(n); + for (int i=0; i> v[i]; + + unordered_map m; + for (int i=0; i