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 listMar 17, 2023 23:47Alexander MonakovAlexander MonakovScore: 4,555Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 23:474,52136,020,65514,466,00002,498,560
2Mar 17, 2023 23:474,52241,723,29414,469,00002,498,560
3Mar 17, 2023 23:474,52434,076,79014,476,00002,277,376
4Mar 17, 2023 23:474,53535,037,24214,512,00002,277,376
5Mar 17, 2023 23:474,54337,500,61614,539,00002,494,464
6Mar 17, 2023 23:474,55433,298,78414,572,00002,277,376
7Mar 17, 2023 23:474,55534,513,49914,576,00002,498,560
8Mar 17, 2023 23:474,56136,693,05414,596,00002,494,464
9Mar 17, 2023 23:474,58328,533,22314,667,00002,494,464
10Mar 17, 2023 23:474,89989,267,05515,678,34102,244,608
11Mar 17, 2023 23:474,92165,550,68015,746,41402,236,416
12Mar 17, 2023 23:474,97876,115,60715,929,35302,240,512