From 7ef08570360d21dbc922bfd6398e1078cbea7608 Mon Sep 17 00:00:00 2001 From: Jihoon Lee Date: Sun, 29 Dec 2024 00:57:15 +0000 Subject: [PATCH] Add 30315.cpp --- 30xxx/30315.cpp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 30xxx/30315.cpp diff --git a/30xxx/30315.cpp b/30xxx/30315.cpp new file mode 100644 index 00000000..fe74806a --- /dev/null +++ b/30xxx/30315.cpp @@ -0,0 +1,30 @@ +#include +#include +#include +#include +#include +using namespace std; + +void solve(void) { + int k; cin >> k; + vector x(k), y(k); + for (int i=0; i> x[i] >> y[i]; + + double ans = 1e9; + for (int i=0; i