From b4e809156f38a0ed57e9519225504609aa1d964f Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Sat, 30 Aug 2025 13:46:27 +0800 Subject: [PATCH] =?UTF-8?q?refactor(P2016.cpp):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84=E5=A4=B4=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=92=8C=E5=B8=B8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除未使用的头文件和未使用的常量inf,简化代码结构 --- src/8/30/P2016.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/8/30/P2016.cpp b/src/8/30/P2016.cpp index 2294208..b2114b1 100644 --- a/src/8/30/P2016.cpp +++ b/src/8/30/P2016.cpp @@ -5,13 +5,11 @@ */ #include #include -#include #include #include #include using ll = int64_t; -const ll inf = 1e9; ll n; std::vector> edg,dp;