Aktualizovat „du5/program.c“
This commit is contained in:
parent
7c453c5d78
commit
ad549fcc1c
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user