Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJun 3, 2021 20:45Yuriy LyfenkoYuriy LyfenkoScore: 5,246Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 20:455,174542,095,90515,524,0001,034,0002,285,568
2Jun 3, 2021 20:455,177546,311,60915,530,0001,035,0002,285,568
3Jun 3, 2021 20:455,243541,741,75016,776,00002,293,760
4Jun 3, 2021 20:455,245544,515,57115,796,000987,0002,285,568
5Jun 3, 2021 20:455,245542,162,40515,796,000987,0002,285,568
6Jun 3, 2021 20:455,245546,272,49916,784,00002,293,760
7Jun 3, 2021 20:455,246552,738,35214,812,0001,974,0002,269,184
8Jun 3, 2021 20:455,247549,254,35114,814,0001,975,0002,285,568
9Jun 3, 2021 20:455,259537,461,06515,839,000989,0002,293,760
10Jun 3, 2021 20:455,336571,195,43117,076,43602,256,896
11Jun 3, 2021 20:455,384599,574,18217,229,94602,310,144
12Jun 3, 2021 20:455,385588,065,59217,233,58302,289,664