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,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 30, 2021 16:075,06843,830,60214,190,0002,027,0002,265,088
2May 30, 2021 16:075,07639,399,96815,229,0001,015,0002,265,088
3May 30, 2021 16:075,08044,434,46714,224,0002,032,0002,400,256
4May 30, 2021 16:075,08241,279,02915,245,0001,016,0002,265,088
5May 30, 2021 16:075,09439,445,48015,283,0001,018,0002,392,064
6May 30, 2021 16:075,09546,955,10615,285,0001,019,0002,396,160
7May 30, 2021 16:075,10239,714,75716,325,00002,269,184
8May 30, 2021 16:075,11740,104,77216,375,00002,265,088
9May 30, 2021 16:075,13137,471,04215,393,0001,026,0002,265,088
10May 30, 2021 16:075,26084,982,69516,833,29802,273,280
11May 30, 2021 16:075,26291,511,83116,837,89902,289,664
12May 30, 2021 16:075,30586,052,48916,977,30102,281,472