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 7, 2022 20:31Egor SergeevEgor SergeevScore: 5,285Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2022 20:315,26531,758,38915,857,000991,0002,527,232
2Apr 7, 2022 20:315,26834,342,95915,865,000991,0002,269,184
3Apr 7, 2022 20:315,27346,211,44614,887,0001,985,0002,502,656
4Apr 7, 2022 20:315,27341,408,72715,880,000992,0002,531,328
5Apr 7, 2022 20:315,27647,542,67614,896,0001,986,0002,494,464
6Apr 7, 2022 20:315,28540,705,95715,918,000994,0002,502,656
7Apr 7, 2022 20:315,28530,025,07014,924,0001,989,0002,265,088
8Apr 7, 2022 20:315,28733,082,27615,924,000995,0002,494,464
9Apr 7, 2022 20:315,29439,728,35314,949,0001,993,0002,494,464
10Apr 7, 2022 20:315,53195,956,77917,699,56002,240,512
11Apr 7, 2022 20:315,53985,767,59717,725,12802,244,608
12Apr 7, 2022 20:315,54469,026,56717,741,34802,240,512