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 listApr 24, 2025 18:10lukostlukostScore: 10,927Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 18:1610,45658,029,3996,083,00027,377,0002,412,544
2Apr 24, 2025 18:1010,59556,147,3223,988,00029,917,0002,420,736
3Apr 24, 2025 18:1610,66359,330,563034,122,0002,285,568
4Apr 24, 2025 18:1010,92765,868,0099,990,00024,975,0002,412,544
5Apr 24, 2025 18:1011,14260,952,9507,130,00028,523,0002,412,544
6Apr 24, 2025 18:1611,20866,483,3562,988,00032,877,0002,404,352