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:25alex3dalex3dScore: 4,874Success
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:254,8291,780,114,65014,424,0001,030,0002,523,136
2May 14, 2021 21:254,8441,562,072,72214,469,0001,033,0002,523,136
3May 14, 2021 21:254,846748,484,32314,473,0001,033,0002,523,136
4May 14, 2021 21:254,848118,518,46214,480,0001,034,0002,445,312
5May 14, 2021 21:254,865746,462,92014,530,0001,037,0002,441,216
6May 14, 2021 21:254,8711,643,384,21313,509,0002,078,0002,523,136
7May 14, 2021 21:254,8742,453,563,93614,557,0001,039,0002,523,136
8May 14, 2021 21:254,878494,566,73913,527,0002,081,0002,523,136
9May 14, 2021 21:254,8801,525,919,96114,574,0001,041,0002,523,136
10May 14, 2021 21:255,0843,053,870,07816,268,46502,281,472
11May 14, 2021 21:255,0891,307,461,47416,284,11802,277,376
12May 14, 2021 21:255,1051,144,293,65916,334,64202,281,472