as in the question, 10 numbers are randomly selected from 1 to 16, and the 10 numbers cannot be the same. Want to detailed code and ideas, this part is really not good, thank you
provides several ideas:
(1) scramble the array containing N numbers, and then select the first 10 numbers.
(2) put the number obtained each time into the HashSet, to determine whether it exists in the Set the next time it gets a number, until the end when the size of the Set is 10:00.
Previous: Why doesn't mysqlworkbench query output content?
Next: Weex + weex UI: TypeError: _ vm._px2rem is not a function
recently, I have done a project to read IC card information on the browser side. Now I have a customer s plug and play IC card reader. Shenzhen Minghua products have no clue. I don t know how to call the web end. Which god can give some advice ...