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 18, 2024 17:34Robert BurkeRobert BurkeScore: 4,508Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 17:344,48435,631,86914,349,00002,277,376
2Apr 18, 2024 17:344,49331,865,61614,377,00002,281,472
3Apr 18, 2024 17:344,49937,973,86314,398,00002,437,120
4Apr 18, 2024 17:344,50327,742,50114,409,00002,424,832
5Apr 18, 2024 17:344,50336,609,53514,410,00002,281,472
6Apr 18, 2024 17:344,50431,014,35714,413,00002,437,120
7Apr 18, 2024 17:344,50827,840,62313,396,0001,030,0002,281,472
8Apr 18, 2024 17:344,51535,304,39013,417,0001,032,0002,281,472
9Apr 18, 2024 17:344,51936,032,04213,428,0001,032,0002,441,216
10Apr 18, 2024 17:344,73780,327,81115,159,82102,191,360
11Apr 18, 2024 17:344,75980,659,03115,227,33602,183,168
12Apr 18, 2024 17:344,79379,725,95315,339,13802,183,168