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 6, 2026 15:36Victor MerckléVictor MerckléScore: 4,201Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:364,18421,324,15113,391,00002,117,632stderr
2Jul 6, 2026 15:364,18721,431,72313,399,00002,117,632stderr
3Jul 6, 2026 15:364,19021,370,39413,409,00002,117,632stderr
4Jul 6, 2026 15:364,19521,220,79813,425,00002,117,632stderr
5Jul 6, 2026 15:364,20121,361,77513,445,00002,117,632stderr
6Jul 6, 2026 15:364,20521,271,45313,458,00002,117,632stderr
7Jul 6, 2026 15:364,20921,413,07313,469,00002,117,632stderr
8Jul 6, 2026 15:364,21821,258,17312,488,0001,010,0002,117,632stderr
9Jul 6, 2026 15:364,21921,266,74813,502,00002,117,632stderr