From 1dc237b15244a76ef27a0af127a03cfdded23074 Mon Sep 17 00:00:00 2001 From: Artem Horbunov Date: Tue, 7 Apr 2020 14:15:24 +0000 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Edu5/program.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du5/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du5/program.c b/du5/program.c index 2a1011c..3130556 100644 --- a/du5/program.c +++ b/du5/program.c @@ -6,7 +6,7 @@ int main(){ int score[50]; int pos = 0; while(1){ - scanf("%d %[^\n]", name[pos], &score[pos]); + scanf("%d %[^\n]", &score[pos], name[pos]); scanf("%*c"); pos++; int tmpCh = getc(stdin);