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, 2021 23:17Egor SergeevEgor SergeevScore: 5,170Success
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, 2021 23:175,11337,226,44916,361,00002,498,560
2Jun 30, 2021 23:175,13334,994,61416,424,00002,486,272
3Jun 30, 2021 23:175,13335,803,06116,426,00002,494,464
4Jun 30, 2021 23:175,13637,282,65116,435,00002,490,368
5Jun 30, 2021 23:175,13736,464,21714,504,0001,933,0002,277,376
6Jun 30, 2021 23:175,14536,371,13916,465,00002,494,464
7Jun 30, 2021 23:175,17040,266,72616,543,00002,498,560
8Jun 30, 2021 23:175,17731,132,90316,566,00002,277,376
9Jun 30, 2021 23:175,17941,122,63516,574,00002,535,424
10Jun 30, 2021 23:175,37786,967,17817,205,38202,256,896
11Jun 30, 2021 23:175,38574,754,52517,231,22202,244,608
12Jun 30, 2021 23:175,39263,044,09617,254,58702,240,512