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 28, 2024 08:41BenBenScore: 4,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 08:414,56230,535,29613,555,0001,042,0002,383,872
2Jul 28, 2024 08:414,57130,864,42713,584,0001,044,0002,527,232
3Jul 28, 2024 08:414,57132,377,63214,628,00002,383,872
4Jul 28, 2024 08:414,57734,299,91214,645,00002,265,088
5Jul 28, 2024 08:414,57734,466,62113,600,0001,046,0002,265,088
6Jul 28, 2024 08:414,57733,181,87813,601,0001,046,0002,265,088
7Jul 28, 2024 08:414,58632,017,89113,627,0001,048,0002,265,088
8Jul 28, 2024 08:414,65147,832,82213,891,000992,0002,383,872
9Jul 28, 2024 08:414,65637,256,74713,907,000993,0002,265,088
10Jul 28, 2024 08:414,83380,575,01215,464,02402,289,664
11Jul 28, 2024 08:414,83386,680,48815,465,29602,277,376
12Jul 28, 2024 08:414,839102,298,54815,485,97302,285,568