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 listJan 22, 2024 12:03matsuoka-601matsuoka-601Score: 5,935Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 12:035,89746,561,22816,883,0001,986,0002,273,280
2Jan 22, 2024 12:035,89741,442,40717,876,000993,0002,277,376
3Jan 22, 2024 12:035,90046,577,69016,894,0001,987,0002,293,760
4Jan 22, 2024 12:035,90149,428,81516,895,0001,987,0002,293,760
5Jan 22, 2024 12:035,90442,652,83916,906,0001,988,0002,269,184
6Jan 22, 2024 12:035,93140,691,94616,982,0001,997,0002,531,328
7Jan 22, 2024 12:035,93543,900,36817,994,000999,0002,277,376
8Jan 22, 2024 12:035,95142,923,01417,040,0002,004,0002,293,760
9Jan 22, 2024 12:035,96844,719,76517,089,0002,010,0002,531,328
10Jan 22, 2024 12:036,14493,736,77819,659,76202,174,976
11Jan 22, 2024 12:036,15691,161,52419,698,65302,301,952
12Jan 22, 2024 12:036,18285,110,87419,782,55502,293,760