From 677d9b8c587a823792b4abe1dd2b9831df4fdbc7 Mon Sep 17 00:00:00 2001 From: Leonardo Lucena Date: Fri, 16 Aug 2024 18:42:22 -0300 Subject: [PATCH] Problema: 3377 --- src/3300/3377.poti | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/3300/3377.poti b/src/3300/3377.poti index 8bcb751..9097442 100644 --- a/src/3300/3377.poti +++ b/src/3300/3377.poti @@ -15,9 +15,7 @@ enquanto s <> "S" faça delta = se reta(x-1) >= y ou reta(x) <= y então abs(reta(x - 0.5) - y) senão - a = (x - y / alfa) / 2 - a * () - (a - 0.5) * (y - reta(x-1)) + + (y / alfa - x + 1) / 2 * (y - reta(x-1)) + (x - y / alfa) / 2 * (reta(x) - y) fim area := area + delta