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 30, 2021 16:07Yuriy LyfenkoYuriy LyfenkoScore: 5,051Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:075,00036,256,61714,001,0002,000,0002,265,088
2May 30, 2021 16:075,01332,285,96715,041,0001,002,0002,387,968
3May 30, 2021 16:075,02244,090,90514,062,0002,008,0002,265,088
4May 30, 2021 16:075,02541,843,92615,075,0001,005,0002,396,160
5May 30, 2021 16:075,02747,156,48914,076,0002,010,0002,396,160
6May 30, 2021 16:075,03941,433,87614,111,0002,015,0002,383,872
7May 30, 2021 16:075,05134,233,09715,154,0001,010,0002,265,088
8May 30, 2021 16:075,05545,985,43515,165,0001,011,0002,265,088
9May 30, 2021 16:075,06631,734,19214,184,0002,026,0002,510,848
10May 30, 2021 16:075,21680,100,75016,691,04902,273,280
11May 30, 2021 16:075,23092,913,70516,735,98002,281,472
12May 30, 2021 16:075,24356,117,41416,776,36802,281,472