From af1a435fe9bfc08dab2b7c74ed04cbe4d6c95ead Mon Sep 17 00:00:00 2001 From: Bohdan Ohorodnii <35969035+varex83@users.noreply.github.com> Date: Sat, 28 Sep 2024 09:22:06 +0300 Subject: [PATCH] Update lagrange.md --- content/russian/cs/layer-optimizations/lagrange.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/russian/cs/layer-optimizations/lagrange.md b/content/russian/cs/layer-optimizations/lagrange.md index 41143232..14c5fc5c 100644 --- a/content/russian/cs/layer-optimizations/lagrange.md +++ b/content/russian/cs/layer-optimizations/lagrange.md @@ -71,7 +71,7 @@ ll solve() { r = mid; } pair result = check(l); - return result.first - l * return.second; // вычитаем штрафы + return result.first - l * result.second; // вычитаем штрафы } ```