submit2
This commit is contained in:
parent
da7db7cb81
commit
b497c87026
@ -19,7 +19,7 @@ int main()
|
|||||||
int element_size=SIZE+sizeof(int);
|
int element_size=SIZE+sizeof(int);
|
||||||
qsort((void *)databaza, size,element_size,compar);
|
qsort((void *)databaza, size,element_size,compar);
|
||||||
for(int i=0; i<size; i++){
|
for(int i=0; i<size; i++){
|
||||||
printf("%d, %s\n",databaza[i].score,databaza[i].name);
|
printf("%d %s\n",databaza[i].score,databaza[i].name);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user