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 09:50Victor MerckléVictor MerckléScore: 4,171Success
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 09:504,07321,317,26813,035,00002,117,632stderr
2Sep 1, 2026 09:504,08621,349,33013,077,00002,117,632stderr
3Sep 1, 2026 09:504,11721,492,86813,175,00002,117,632stderr
4Sep 1, 2026 09:504,12621,961,74813,206,00002,121,728stderr
5Sep 1, 2026 09:504,17121,975,63113,350,00002,117,632stderr
6Sep 1, 2026 09:504,17322,260,92013,355,00002,117,632stderr
7Sep 1, 2026 09:504,17821,861,41113,372,00002,117,632stderr
8Sep 1, 2026 09:504,19221,723,24113,415,00002,117,632stderr
9Sep 1, 2026 09:504,20921,819,77213,471,00002,117,632stderr