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);