Aktualizovat „du5/program.c“

This commit is contained in:
Artem Horbunov 2020-04-07 14:15:24 +00:00
parent 0c18f888e3
commit 1dc237b152

View File

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