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 listDec 14, 2024 13:34Alexander MonakovAlexander MonakovScore: 4,548Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:224,50935,220,33514,428,00002,535,424
2Jan 22, 2024 09:134,51130,552,08914,436,00002,277,376
3Jan 22, 2024 09:134,51731,686,00114,453,00002,277,376
4Jan 22, 2024 09:134,52031,444,72414,463,00002,498,560
5Jan 22, 2024 09:224,52028,844,46114,465,00002,502,656
6Jan 22, 2024 09:134,53334,497,26514,504,00002,277,376
7Jan 22, 2024 09:224,53439,257,08614,509,00002,277,376
8Jan 22, 2024 09:224,53637,910,20514,515,00002,277,376
9Jan 22, 2024 09:134,53931,380,19614,524,00002,494,464
10Jan 22, 2024 09:224,54133,302,51814,532,00002,498,560
11Jan 22, 2024 09:134,54337,168,19613,498,0001,038,0002,277,376
12Jan 22, 2024 09:134,54431,714,43714,542,00002,494,464
13Jan 22, 2024 09:224,54739,979,00714,549,00002,277,376
14Jan 22, 2024 09:224,54832,969,27613,513,0001,039,0002,490,368
15Jan 22, 2024 09:134,55833,563,15114,585,00002,494,464
16Jan 22, 2024 09:224,56031,121,45813,551,0001,042,0002,277,376
17Jan 22, 2024 09:134,56035,838,18313,549,0001,042,0002,502,656
18Jan 22, 2024 09:224,58140,306,33313,612,0001,047,0002,277,376
19Jan 22, 2024 09:134,76967,343,34315,260,77302,248,704
20Jan 22, 2024 09:224,78385,547,91415,304,27602,236,416
21Jan 22, 2024 09:134,78881,169,78315,321,11102,244,608
22Jan 22, 2024 09:134,79569,700,95915,345,25802,248,704
23Jan 22, 2024 09:224,796103,862,71615,348,61802,240,512
24Jan 22, 2024 09:224,80373,050,25615,370,43202,240,512
25Dec 14, 2024 13:3419,637106,556,57359,846,0002,992,0002,490,368
26Dec 14, 2024 13:3419,76296,720,20660,228,0003,011,0002,265,088
27Dec 14, 2024 13:3420,072108,928,72062,284,0001,946,0002,523,136