From b08844897882b9e5f799bbc99e68019e72b0dcfb Mon Sep 17 00:00:00 2001 From: Jihoon Lee Date: Fri, 23 Feb 2024 03:21:01 +0900 Subject: [PATCH] Add 25090.cpp --- 25xxx/25090.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 25xxx/25090.cpp diff --git a/25xxx/25090.cpp b/25xxx/25090.cpp new file mode 100644 index 00000000..1573fd01 --- /dev/null +++ b/25xxx/25090.cpp @@ -0,0 +1,26 @@ +#include +#include +#include +using namespace std; + +void solve(int idx) { + int n; cin >> n; + vector s(n); + for (int i=0; i> s[i]; + sort(s.begin(), s.end()); + + int ans = 0; + for (int i=0; i> t; + for (int i=1; i<=t; i++) solve(i); + return 0; +} \ No newline at end of file