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 28, 2021 21:12Yuriy LyfenkoYuriy LyfenkoScore: 5,310Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 21:125,27346,109,85914,888,0001,985,0002,289,664
2May 28, 2021 21:125,28140,046,87514,912,0001,988,0002,289,664
3May 28, 2021 21:125,28241,266,64614,913,0001,988,0002,281,472
4May 28, 2021 21:125,28538,906,51414,923,0001,989,0002,289,664
5May 28, 2021 21:125,29535,110,65714,952,0001,993,0002,285,568
6May 28, 2021 21:125,29840,427,81314,960,0001,994,0002,355,200
7May 28, 2021 21:125,31042,449,39814,993,0001,999,0002,273,280
8May 28, 2021 21:125,31339,810,14915,001,0002,000,0002,289,664
9May 28, 2021 21:125,32640,232,88415,038,0002,005,0002,289,664
10May 28, 2021 21:125,45990,691,07617,469,00802,297,856
11May 28, 2021 21:125,49648,409,65817,585,96802,297,856
12May 28, 2021 21:125,53543,917,16417,710,96502,256,896