From ac31afb8280adfd5900c14f5dfa859344ebe0bd4 Mon Sep 17 00:00:00 2001 From: Oleksandr Hryshchenko Date: Tue, 9 Mar 2021 19:38:46 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20'du2/program.c'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BMW Love --- du2/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du2/program.c b/du2/program.c index a735c23..5636a8d 100644 --- a/du2/program.c +++ b/du2/program.c @@ -26,7 +26,7 @@ int main() { int max_position = 1; for (int i = 0; fgets(glass[i], 20, stdin) != NULL; i++){ - for (int j = 0; j < strlen(glass[i]; j++)){ + for (int j = 0; j < strlen(glass[i]); j++){ if (!isdigit(glass[i][j]) || atoi (glass[i]) < 1){ goto LABEL; }