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 listSep 6, 2024 08:53Joseph KuoJoseph KuoScore: 32,634Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2024 08:5332,576130,443,71271,166,00033,077,0002,293,760
2Sep 6, 2024 08:5332,582126,879,90372,182,00032,080,0002,293,760
3Sep 6, 2024 08:5332,598127,528,15774,222,00030,090,0002,293,760
4Sep 6, 2024 08:5332,626132,888,13471,276,00033,128,0002,293,760
5Sep 6, 2024 08:5332,634128,632,23574,306,00030,124,0002,293,760
6Sep 6, 2024 08:5332,670127,613,42776,398,00028,146,0002,293,760
7Sep 6, 2024 08:5332,678134,150,05074,406,00030,164,0002,408,448
8Sep 6, 2024 08:5332,720140,365,32175,508,00029,196,0002,293,760
9Sep 6, 2024 08:5332,752130,782,22375,860,00028,946,0002,424,832