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 27, 2021 19:36Yuriy LyfenkoYuriy LyfenkoScore: 5,073Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:365,03130,972,41814,087,0002,012,0002,400,256
2May 27, 2021 19:365,03133,440,85614,088,0002,012,0002,265,088
3May 27, 2021 19:365,04941,126,13214,138,0002,019,0002,527,232
4May 27, 2021 19:365,04933,511,31715,149,0001,009,0002,265,088
5May 27, 2021 19:365,05832,922,55215,173,0001,011,0002,527,232
6May 27, 2021 19:365,06236,014,58515,187,0001,012,0002,265,088
7May 27, 2021 19:365,07344,413,03915,221,0001,014,0002,265,088
8May 27, 2021 19:365,08835,842,66315,264,0001,017,0002,400,256
9May 27, 2021 19:365,09833,156,74315,295,0001,019,0002,400,256
10May 27, 2021 19:365,23946,556,86616,764,97702,285,568
11May 27, 2021 19:365,26361,502,41616,842,42902,269,184
12May 27, 2021 19:365,26381,426,73716,840,83302,281,472