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 listSep 1, 2026 10:01Victor MerckléVictor MerckléScore: 4,144Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2026 10:024,07521,340,35413,041,00002,117,632stderr
2Sep 1, 2026 10:024,08321,349,06013,066,00002,117,632stderr
3Sep 1, 2026 10:024,11821,470,43013,178,00002,117,632stderr
4Sep 1, 2026 10:024,14421,589,79813,261,00002,117,632stderr
5Sep 1, 2026 10:024,14421,575,09013,263,00002,117,632stderr
6Sep 1, 2026 10:024,16321,585,77013,324,00002,117,632stderr
7Sep 1, 2026 10:024,18321,645,62913,386,00002,117,632stderr
8Sep 1, 2026 10:024,18421,713,23313,391,00002,117,632stderr
9Sep 1, 2026 10:024,19721,741,09013,433,00002,117,632stderr