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 24, 2021 07:23Yuriy LyfenkoYuriy LyfenkoScore: 5,102Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 07:235,04835,142,00615,145,0001,009,0002,387,968
2May 24, 2021 07:235,05632,468,10114,158,0002,022,0002,392,064
3May 24, 2021 07:235,05832,891,08714,164,0002,023,0002,396,160
4May 24, 2021 07:215,07446,159,17414,207,0002,029,0002,396,160
5May 24, 2021 07:215,07538,388,44115,226,0001,015,0002,265,088
6May 24, 2021 07:215,08042,969,08715,240,0001,016,0002,400,256
7May 24, 2021 07:215,08740,115,19014,244,0002,034,0002,400,256
8May 24, 2021 07:215,09039,874,27216,287,00002,387,968
9May 24, 2021 07:235,09139,451,17315,273,0001,018,0002,383,872
10May 24, 2021 07:235,09238,795,83315,277,0001,018,0002,392,064
11May 24, 2021 07:235,09333,524,44914,261,0002,037,0002,396,160
12May 24, 2021 07:215,09336,113,85214,260,0002,037,0002,392,064
13May 24, 2021 07:235,10233,465,19814,286,0002,040,0002,256,896
14May 24, 2021 07:235,10846,972,69815,323,0001,021,0002,383,872
15May 24, 2021 07:235,11344,811,20116,361,00002,265,088
16May 24, 2021 07:215,13433,501,81916,428,00002,502,656
17May 24, 2021 07:215,13450,533,83916,429,00002,387,968
18May 24, 2021 07:215,14037,455,29315,420,0001,028,0002,265,088
19May 24, 2021 07:215,26475,384,74416,844,13302,273,280
20May 24, 2021 07:215,28175,822,37316,898,76002,240,512
21May 24, 2021 07:235,30089,718,19716,960,20502,277,376
22May 24, 2021 07:235,30780,959,01916,982,39902,277,376
23May 24, 2021 07:215,31956,839,78717,021,50402,277,376
24May 24, 2021 07:235,507103,520,36717,622,33202,277,376