Aktualizovat „du5/program.c“

This commit is contained in:
Artem Horbunov 2020-04-07 15:52:59 +00:00
parent 7c453c5d78
commit ad549fcc1c

View File

@ -9,7 +9,7 @@ int main(){
int score[50]; int score[50];
int pos = 0; int pos = 0;
//Getting input //Getting input
while(1){ for(int i = 0; i < 50; i++){
if( poll(&mypoll, 1, 2000)){ if( poll(&mypoll, 1, 2000)){
scanf("%d %[^\n]", &score[pos], name[pos]); scanf("%d %[^\n]", &score[pos], name[pos]);
scanf("%*c"); scanf("%*c");