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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 14:415,32542,416,61715,035,0002,004,0002,265,088
2May 23, 2021 14:415,33447,380,02916,064,0001,004,0002,265,088
3May 23, 2021 14:415,33431,577,80816,065,0001,004,0002,506,752
4May 23, 2021 14:415,33936,644,69216,080,0001,005,0002,392,064
5May 23, 2021 14:415,34033,284,72015,078,0002,010,0002,265,088
6May 23, 2021 14:415,34142,836,76115,080,0002,010,0002,265,088
7May 23, 2021 14:415,35334,903,96715,116,0002,015,0002,265,088
8May 23, 2021 14:415,36836,766,19216,169,0001,010,0002,527,232
9May 23, 2021 14:415,40346,677,09315,257,0002,034,0002,523,136
10May 23, 2021 14:415,55785,193,58817,781,19202,277,376
11May 23, 2021 14:415,58065,379,43317,856,33602,285,568
12May 23, 2021 14:415,59382,431,75517,899,00302,281,472