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:18BenBenScore: 4,555Success
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:184,53033,245,00013,461,0001,035,0002,265,088
2Jul 30, 2024 03:184,54330,720,33214,538,00002,510,848
3Jul 30, 2024 03:184,54429,113,06913,503,0001,038,0002,265,088
4Jul 30, 2024 03:184,55036,961,45813,520,0001,040,0002,506,752
5Jul 30, 2024 03:184,55330,173,09513,528,0001,040,0002,265,088
6Jul 30, 2024 03:184,55432,702,02014,574,00002,265,088
7Jul 30, 2024 03:184,55531,392,08513,535,0001,041,0002,527,232
8Jul 30, 2024 03:184,55840,599,06613,543,0001,041,0002,379,776
9Jul 30, 2024 03:184,56433,985,29113,562,0001,043,0002,265,088
10Jul 30, 2024 03:184,79695,466,74015,347,80902,293,760
11Jul 30, 2024 03:184,81794,030,40515,415,65502,293,760
12Jul 30, 2024 03:184,82688,874,45115,442,52302,293,760