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 13, 2021 20:35alex3dalex3dScore: 4,779Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 20:354,72331,922,15314,105,0001,007,0002,445,312
2May 13, 2021 20:354,73533,674,48113,132,0002,020,0002,449,408
3May 13, 2021 20:354,73835,077,86213,141,0002,021,0002,269,184
4May 13, 2021 20:354,74231,429,93813,151,0002,023,0002,445,312
5May 13, 2021 20:354,74333,712,40213,153,0002,023,0002,269,184
6May 13, 2021 20:354,74333,742,91714,167,0001,011,0002,265,088
7May 13, 2021 20:354,74841,099,25714,181,0001,012,0002,437,120
8May 13, 2021 20:354,75031,386,31814,187,0001,013,0002,269,184
9May 13, 2021 20:354,75931,489,86414,215,0001,015,0002,269,184
10May 13, 2021 20:354,76242,428,62712,191,0003,047,0002,527,232
11May 13, 2021 20:354,76335,713,81214,224,0001,016,0002,445,312
12May 13, 2021 20:354,77633,786,36314,265,0001,018,0002,437,120
13May 13, 2021 20:354,77936,649,81914,273,0001,019,0002,269,184
14May 13, 2021 20:354,78031,428,28914,277,0001,019,0002,269,184
15May 13, 2021 20:354,78342,583,58615,305,00002,527,232
16May 13, 2021 20:354,78427,856,95315,309,00002,265,088
17May 13, 2021 20:354,79531,279,18814,322,0001,023,0002,514,944
18May 13, 2021 20:354,80833,805,36515,384,00002,445,312
19May 13, 2021 20:355,47275,735,33417,509,81902,195,456
20May 13, 2021 20:355,49772,102,30717,589,02202,203,648
21May 13, 2021 20:355,50093,050,13717,598,73602,195,456
22May 13, 2021 20:355,50792,510,95517,623,08202,195,456
23May 13, 2021 20:355,520101,810,47117,664,68802,199,552
24May 13, 2021 20:355,53784,784,51117,717,01402,199,552