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 listJun 30, 2023 17:02Alexander MonakovAlexander MonakovScore: 4,557Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2023 17:024,49931,564,03414,398,00002,502,656
2Jun 30, 2023 17:024,50532,021,72214,416,00002,277,376
3Jun 30, 2023 17:024,50829,874,01114,426,00002,277,376
4Jun 30, 2023 17:024,51527,522,48914,448,00002,277,376
5Jun 30, 2023 17:024,51733,022,77614,454,00002,277,376
6Jun 30, 2023 17:024,52031,951,78814,463,00002,502,656
7Jun 30, 2023 17:024,52429,754,48614,476,00002,277,376
8Jun 30, 2023 17:024,52830,178,53814,491,00002,277,376
9Jun 30, 2023 17:024,53538,869,27513,476,0001,036,0002,277,376
10Jun 30, 2023 17:024,53936,469,90214,525,00002,277,376
11Jun 30, 2023 17:024,54433,563,93814,541,00002,498,560
12Jun 30, 2023 17:024,55041,266,14414,559,00002,277,376
13Jun 30, 2023 17:024,55738,992,56414,581,00002,498,560
14Jun 30, 2023 17:024,55832,231,36214,587,00002,502,656
15Jun 30, 2023 17:024,56029,798,33514,591,00002,277,376
16Jun 30, 2023 17:024,56034,028,44614,591,00002,498,560
17Jun 30, 2023 17:024,56345,687,62814,601,00002,498,560
18Jun 30, 2023 17:024,57934,347,52714,654,00002,277,376
19Jun 30, 2023 17:024,73275,654,56415,143,41802,240,512
20Jun 30, 2023 17:024,79285,406,16415,335,29502,236,416
21Jun 30, 2023 17:024,79682,948,92515,346,43302,260,992
22Jun 30, 2023 17:024,80365,359,11115,368,87902,232,320
23Jun 30, 2023 17:024,80497,446,97215,371,71702,244,608
24Jun 30, 2023 17:024,81172,268,53315,395,25002,244,608