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 listMay 17, 2021 23:41Yuriy LyfenkoYuriy LyfenkoScore: 5,461Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:415,4242,492,238,00215,429,0001,928,0002,523,136
2May 17, 2021 23:415,426134,237,19215,433,0001,929,0002,523,136
3May 17, 2021 23:415,4301,722,842,18515,445,0001,930,0002,260,992
4May 17, 2021 23:415,4331,266,972,31416,363,0001,022,0002,265,088
5May 17, 2021 23:415,4431,967,554,65416,392,0001,024,0002,260,992
6May 17, 2021 23:415,4581,578,987,45617,465,00002,265,088
7May 17, 2021 23:415,461700,695,56116,447,0001,027,0002,523,136
8May 17, 2021 23:415,4662,165,400,79911,661,0005,830,0002,519,040
9May 17, 2021 23:415,4692,305,460,49915,558,0001,944,0002,260,992
10May 17, 2021 23:415,6091,784,266,61217,947,99602,281,472
11May 17, 2021 23:415,6211,876,464,74417,987,76502,277,376
12May 17, 2021 23:415,649396,529,31218,078,01702,277,376