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 1, 2026 17:18Victor MerckléVictor MerckléScore: 4,189Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2026 17:184,16521,217,33513,329,00002,117,632stderr
2Jul 1, 2026 17:184,16821,224,66113,340,00002,117,632stderr
3Jul 1, 2026 17:184,17721,255,17713,369,00002,117,632stderr
4Jul 1, 2026 17:184,18421,255,69013,391,00002,117,632stderr
5Jul 1, 2026 17:184,18921,285,12113,407,00002,117,632stderr
6Jul 1, 2026 17:184,19421,372,26413,422,00002,117,632stderr
7Jul 1, 2026 17:184,20121,180,71513,446,00002,117,632stderr
8Jul 1, 2026 17:184,20221,361,57813,449,00002,117,632stderr
9Jul 1, 2026 17:184,20321,334,41413,450,00002,117,632stderr