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 listMay 15, 2023 06:56AmirAmirScore: 5,823Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 06:565,73341,094,13817,326,0001,019,0002,289,664
2May 15, 2023 06:565,74444,543,20316,339,0002,042,0002,531,328
3May 15, 2023 06:565,77234,979,42016,419,0002,052,0002,269,184
4May 15, 2023 06:565,79248,151,05717,506,0001,029,0002,289,664
5May 15, 2023 06:565,80040,224,29318,560,00002,269,184
6May 15, 2023 06:565,80944,938,47717,558,0001,032,0002,347,008
7May 15, 2023 06:565,82349,240,36717,599,0001,035,0002,527,232
8May 15, 2023 06:565,82547,429,87817,604,0001,035,0002,273,280
9May 15, 2023 06:565,83344,699,22018,664,00002,289,664
10May 15, 2023 06:565,96993,334,65719,101,78102,297,856
11May 15, 2023 06:566,01594,697,17519,246,96402,293,760
12May 15, 2023 06:566,015100,842,17419,247,09502,293,760