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 listJan 20, 2024 09:03matsuoka-601matsuoka-601Score: 4,853Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 20, 2024 09:034,80539,837,67913,326,0002,050,0002,285,568
2Jan 20, 2024 09:034,81439,420,31314,378,0001,027,0002,273,280
3Jan 20, 2024 09:034,82430,252,30114,407,0001,029,0002,285,568
4Jan 20, 2024 09:034,82844,273,92115,448,00002,273,280
5Jan 20, 2024 09:034,84141,855,13614,458,0001,032,0002,277,376
6Jan 20, 2024 09:034,85336,445,51214,494,0001,035,0002,285,568
7Jan 20, 2024 09:034,85334,458,70514,495,0001,035,0002,527,232
8Jan 20, 2024 09:034,85433,775,09014,498,0001,035,0002,285,568
9Jan 20, 2024 09:034,85831,896,72415,545,00002,285,568
10Jan 20, 2024 09:035,06275,906,06516,197,98302,179,072
11Jan 20, 2024 09:035,06381,895,05916,200,83202,306,048
12Jan 20, 2024 09:035,12061,702,81516,383,71902,297,856