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 21, 2021 12:29Dmitry DolgopolovDmitry DolgopolovScore: 6,014Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 12:295,92249,989,24815,959,0002,992,0002,510,848
2May 21, 2021 12:295,95846,622,97117,060,0002,007,0002,510,848
3May 21, 2021 12:295,96643,952,33616,076,0003,014,0002,506,752
4May 21, 2021 12:295,96834,716,74216,083,0003,015,0002,510,848
5May 21, 2021 12:295,97043,929,05017,093,0002,011,0002,293,760
6May 21, 2021 12:295,97146,097,77416,090,0003,016,0002,293,760
7May 21, 2021 12:296,00648,602,15317,197,0002,023,0002,293,760
8May 21, 2021 12:296,01449,884,90217,219,0002,025,0002,506,752
9May 21, 2021 12:296,04047,544,98116,277,0003,052,0002,293,760
10May 21, 2021 12:296,07895,766,09819,448,32602,170,880
11May 21, 2021 12:296,11070,782,15319,550,43502,174,976
12May 21, 2021 12:296,13673,895,12719,636,17502,179,072
13May 21, 2021 12:296,15677,030,06619,699,04102,174,976
14May 21, 2021 12:296,17686,855,77619,762,61202,301,952
15May 21, 2021 12:296,21092,572,12819,872,85602,174,976