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 18:53Yuriy LyfenkoYuriy LyfenkoScore: 5,112Success
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 18:535,05942,437,97414,167,0002,023,0002,392,064
2May 23, 2021 18:535,08133,234,81014,226,0002,032,0002,396,160
3May 23, 2021 18:535,09136,873,30516,292,00002,506,752
4May 23, 2021 18:535,10144,503,12115,303,0001,020,0002,383,872
5May 23, 2021 18:535,10436,905,30315,313,0001,020,0002,387,968
6May 23, 2021 18:535,10840,896,99316,344,00002,387,968
7May 23, 2021 18:535,11245,379,09215,336,0001,022,0002,265,088
8May 23, 2021 18:535,11833,322,41515,355,0001,023,0002,392,064
9May 23, 2021 18:535,13643,391,75015,407,0001,027,0002,265,088
10May 23, 2021 18:535,27283,013,92116,870,95002,260,992
11May 23, 2021 18:535,32798,736,65117,045,23602,277,376
12May 23, 2021 18:535,37783,418,32517,205,28302,273,280