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 listJul 30, 2022 21:02Simon MaracheSimon MaracheScore: 5,809Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2022 21:025,77943,315,70017,466,0001,027,0002,289,664
2Jul 30, 2022 21:025,78242,297,15918,501,00002,289,664
3Jul 30, 2022 21:025,78942,848,75318,525,00002,289,664
4Jul 30, 2022 21:025,79842,416,49617,523,0001,030,0002,371,584
5Jul 30, 2022 21:025,80040,295,68217,530,0001,031,0002,289,664
6Jul 30, 2022 21:025,80640,945,49718,578,00002,383,872
7Jul 30, 2022 21:025,80949,436,49517,558,0001,032,0002,289,664
8Jul 30, 2022 21:025,81142,222,79118,595,00002,478,080
9Jul 30, 2022 21:025,82543,695,57217,604,0001,035,0002,469,888
10Jul 30, 2022 21:026,01090,692,06619,231,28502,256,896
11Jul 30, 2022 21:026,07185,024,13319,426,59902,248,704
12Jul 30, 2022 21:026,12897,661,97619,610,08402,256,896