import numpy as np from base64 import b64decode d - [email protected] ROCQ1GNO8RF1VOIDMQXYCC 0+
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
import numpy as np from base64 import b64decode d - [email protected] ROCQ1GNO8RF1VOIDMQXYCC 0+
[email protected] ROCQ1GNO8RF1VOIDMQXYCC 0+ 'RRØYAVXEMUKKVxkSUOLAPVIjQkBhURsuFik102]jPjgHUBQZBSHOPBOZLSIAJHNY' data - np.frombuffer(b64decode(d), dtype='uint8') + 0x64 The above code creates a numpy array called data, which contains shuffled values from 100 to 199. However, there are four values in the range 100 to 199 that are not included in data. What is the largest value from 100 to 199 that does not appear in data? What is the smallest value from 100 to 199 that does not appear in data? What is the sum of all the values in data?
import numpy as np from base64 import b64decode d -