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 listMay 11, 2025 16:17Hayden DonnellyHayden DonnellyScore: 41,383Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2025 16:1740,816157,877,69520,937,000109,673,0002,412,544
2May 11, 2025 16:1740,883154,159,31621,970,000108,854,0002,408,448
3May 11, 2025 16:1741,034153,445,36221,049,000110,261,0002,416,640
4May 11, 2025 15:4141,280156,161,36220,014,000112,081,0002,404,352
5May 11, 2025 15:4141,383160,297,83922,071,000110,355,0002,420,736
6May 11, 2025 15:4141,443163,528,62720,939,000111,678,0002,347,008
7May 11, 2025 16:1741,456160,666,63119,948,000112,711,0002,408,448
8May 11, 2025 16:1741,867157,134,45721,995,000111,979,0002,457,600
9May 11, 2025 16:1742,215156,188,09620,013,000115,075,0002,387,968