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 17, 2024 14:20Drew GarciaDrew GarciaScore: 5,768Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 14:205,71340,914,51017,265,0001,015,0002,396,160
2Apr 17, 2024 14:205,71638,578,70616,260,0002,032,0002,269,184
3Apr 17, 2024 14:205,71837,664,07416,264,0002,033,0002,404,352
4Apr 17, 2024 14:205,74946,936,99318,397,00002,400,256
5Apr 17, 2024 14:205,75254,512,41218,407,00002,392,064
6Apr 17, 2024 14:205,75343,239,15616,363,0002,045,0002,400,256
7Apr 17, 2024 14:205,76839,290,63716,406,0002,050,0002,404,352
8Apr 17, 2024 14:205,77035,124,84718,464,00002,404,352
9Apr 17, 2024 14:205,77744,703,01218,485,00002,269,184
10Apr 17, 2024 14:206,18485,671,52319,788,71802,301,952
11Apr 17, 2024 14:206,20177,324,84419,844,61902,289,664
12Apr 17, 2024 14:206,23873,092,36619,960,17102,301,952