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 26, 2022 08:11Keichi TakahashiKeichi TakahashiScore: 5,505Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2022 08:115,48640,003,13316,523,0001,032,0002,383,872
2May 26, 2022 08:115,48639,732,93317,555,00002,265,088
3May 26, 2022 08:115,50133,759,30416,567,0001,035,0002,260,992
4May 26, 2022 08:115,50138,867,05517,603,00002,379,776
5May 26, 2022 08:115,50145,645,33817,603,00002,265,088
6May 26, 2022 08:115,50449,047,32917,614,00002,265,088
7May 26, 2022 08:115,50542,667,28117,615,00002,506,752
8May 26, 2022 08:115,50844,395,39217,626,00002,387,968
9May 26, 2022 08:115,51446,484,03616,607,0001,037,0002,469,888
10May 26, 2022 08:115,65769,022,00318,101,47902,289,664
11May 26, 2022 08:115,69587,791,70718,223,81902,281,472
12May 26, 2022 08:115,69695,345,52918,227,14802,281,472