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 listJul 30, 2024 03:20BenBenScore: 4,568Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:204,52430,627,37113,444,0001,034,0002,265,088
2Jul 30, 2024 03:204,55039,222,02614,560,00002,383,872
3Jul 30, 2024 03:204,55135,907,92313,522,0001,040,0002,482,176
4Jul 30, 2024 03:204,55742,391,36014,581,00002,265,088
5Jul 30, 2024 03:204,56031,663,52713,549,0001,042,0002,387,968
6Jul 30, 2024 03:204,56431,809,40514,606,00002,396,160
7Jul 30, 2024 03:204,56831,961,38413,572,0001,044,0002,387,968
8Jul 30, 2024 03:204,58231,295,20413,615,0001,047,0002,387,968
9Jul 30, 2024 03:204,58739,257,54214,677,00002,265,088
10Jul 30, 2024 03:204,78488,846,02115,307,39402,240,512
11Jul 30, 2024 03:204,78792,063,59815,319,29702,289,664
12Jul 30, 2024 03:204,83765,426,20815,478,76902,277,376