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 13, 2021 10:46Dmitry DolgopolovDmitry DolgopolovScore: 5,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 10:465,41732,725,73916,314,0001,019,0002,449,408
2Jun 13, 2021 10:465,42040,343,65915,303,0002,040,0002,453,504
3Jun 13, 2021 10:465,42140,952,81016,326,0001,020,0002,269,184
4Jun 13, 2021 10:465,42738,754,82116,344,0001,021,0002,531,328
5Jun 13, 2021 10:465,42741,358,86716,345,0001,021,0002,445,312
6Jun 13, 2021 10:465,43240,081,34816,361,0001,022,0002,457,600
7Jun 13, 2021 10:465,45738,624,84316,436,0001,027,0002,531,328
8Jun 13, 2021 10:465,45734,829,53616,436,0001,027,0002,269,184
9Jun 13, 2021 10:465,46339,412,81016,452,0001,028,0002,531,328
10Jun 13, 2021 10:465,62090,594,04117,983,34102,207,744
11Jun 13, 2021 10:465,64893,251,72918,074,63102,207,744
12Jun 13, 2021 10:465,67599,444,36818,159,78402,256,896