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 14, 2021 21:04alex3dalex3dScore: 4,622Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 21:044,583466,891,73913,617,0001,047,0002,519,040
2May 14, 2021 21:044,5905,099,979,16613,638,0001,049,0002,523,136
3May 14, 2021 21:044,5915,156,146,39414,692,00002,523,136
4May 14, 2021 21:044,5983,402,695,83613,663,0001,051,0002,523,136
5May 14, 2021 21:044,611675,046,00913,701,0001,053,0002,514,944
6May 14, 2021 21:044,6218,549,079,26013,730,0001,056,0002,519,040
7May 14, 2021 21:044,6228,155,209,24114,791,00002,523,136
8May 14, 2021 21:044,6252,502,643,44713,744,0001,057,0002,523,136
9May 14, 2021 21:044,6371,454,932,49513,778,0001,059,0002,523,136
10May 14, 2021 21:045,2981,175,464,78616,953,99502,281,472
11May 14, 2021 21:045,3015,401,537,07916,964,40502,265,088
12May 14, 2021 21:045,3033,071,442,68216,968,81302,277,376