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 listAug 7, 2021 21:46Mikhail ShirokovMikhail ShirokovScore: 5,622Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2021 21:465,50742,524,31316,586,0001,036,0002,265,088
2Aug 7, 2021 21:465,58347,672,56815,880,0001,985,0002,392,064
3Aug 7, 2021 21:465,58442,226,99617,870,00002,265,088
4Aug 7, 2021 21:465,58538,305,05815,887,0001,985,0002,527,232
5Aug 7, 2021 21:465,58645,050,41916,883,000993,0002,383,872
6Aug 7, 2021 21:465,60146,944,53115,933,0001,991,0002,265,088
7Aug 7, 2021 21:465,62244,782,53015,992,0001,999,0002,387,968
8Aug 7, 2021 21:465,62339,097,17516,996,000999,0002,265,088
9Aug 7, 2021 21:465,63737,880,16316,033,0002,004,0002,265,088
10Aug 7, 2021 21:465,76578,676,34418,448,35802,285,568
11Aug 7, 2021 21:465,783106,156,83818,504,70802,281,472
12Aug 7, 2021 21:465,81287,383,27018,599,24202,273,280