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 listFeb 22, 2023 08:22DarkclainerDarkclainerScore: 5,345Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2023 08:225,32141,597,09516,025,0001,001,0002,269,184
2Feb 22, 2023 08:225,32642,413,22516,042,0001,002,0002,531,328
3Feb 22, 2023 08:225,34043,548,21816,083,0001,005,0002,269,184
4Feb 22, 2023 08:225,34144,017,82316,085,0001,005,0002,269,184
5Feb 22, 2023 08:225,34141,395,68116,085,0001,005,0002,478,080
6Feb 22, 2023 08:225,34143,591,36616,087,0001,005,0002,375,680
7Feb 22, 2023 08:225,34549,438,29515,091,0002,012,0002,269,184
8Feb 22, 2023 08:225,35134,310,29015,109,0002,014,0002,269,184
9Feb 22, 2023 08:225,37341,681,66515,172,0002,023,0002,269,184
10Feb 22, 2023 08:225,55285,813,24917,764,84402,260,992
11Feb 22, 2023 08:225,56362,044,55317,800,22402,256,896
12Feb 22, 2023 08:225,56875,515,08717,819,09802,244,608