From 3d8c15bd7f076134ca1362daafafca49a3a11291 Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Fri, 25 Jul 2025 08:12:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20T633667s1.cpp=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E5=AE=9E=E7=8E=B0=E7=AE=97=E6=B3=95=E5=B9=B6?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=BE=93=E5=85=A5=E8=BE=93=E5=87=BA=E6=80=A7?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/7/24/T633667s1.cpp | 40 ++++++++++++++++++++++++++++++++++++++++ src/7/25/T639173.cpp | 3 +++ 2 files changed, 43 insertions(+) create mode 100644 src/7/24/T633667s1.cpp create mode 100644 src/7/25/T639173.cpp diff --git a/src/7/24/T633667s1.cpp b/src/7/24/T633667s1.cpp new file mode 100644 index 0000000..42bbecf --- /dev/null +++ b/src/7/24/T633667s1.cpp @@ -0,0 +1,40 @@ +#include +#include +#include +#include +#include +#include + +using ll = int64_t; + +double ans=0.0; +ll m,n; +std::vector v; + +int main(){ + std::iostream::sync_with_stdio(false); + std::cin.tie(nullptr); + std::cout.tie(nullptr); + std::cin>>m>>n; + v.resize(n+1); + for(ll i=1;i<=m;i++){ + v.assign(n+1,0); + for(ll j=1;j<=n;j++){ + std::cin>>v[j]; + v[j]+=v[j-1]; + } + double nans=std::numeric_limits::max(); + for(ll j=2;j