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:31Victor MerckléVictor MerckléScore: 4,197Success
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:314,18521,319,24013,393,00002,117,632stderr
2Jun 30, 2026 12:314,19221,071,96413,416,00002,117,632stderr
3Jun 30, 2026 12:314,19321,085,71913,418,00002,117,632stderr
4Jun 30, 2026 12:314,19621,147,59413,430,00002,117,632stderr
5Jun 30, 2026 12:314,19721,113,41713,432,00002,117,632stderr
6Jun 30, 2026 12:314,19921,398,03113,437,00002,117,632stderr
7Jun 30, 2026 12:314,20421,107,48213,455,00002,117,632stderr
8Jun 30, 2026 12:314,21021,120,02513,474,00002,117,632stderr
9Jun 30, 2026 12:314,21221,201,85913,480,00002,117,632stderr