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 listJun 30, 2026 12:36Victor MerckléVictor MerckléScore: 4,198Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2026 12:364,17521,030,49513,363,00002,117,632stderr
2Jun 30, 2026 12:364,18221,073,93413,383,00002,117,632stderr
3Jun 30, 2026 12:364,18621,421,82213,396,00002,117,632stderr
4Jun 30, 2026 12:364,18621,064,68713,397,00002,117,632stderr
5Jun 30, 2026 12:364,19821,125,65113,434,00002,117,632stderr
6Jun 30, 2026 12:364,19821,080,12413,434,00002,117,632stderr
7Jun 30, 2026 12:364,20221,096,85213,447,00002,117,632stderr
8Jun 30, 2026 12:364,20621,145,22013,460,00002,117,632stderr
9Jun 30, 2026 12:364,21421,151,68513,486,00002,117,632stderr