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:00Yuriy LyfenkoYuriy LyfenkoScore: 5,083Success
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:005,03733,919,15014,103,0002,014,0002,265,088
2May 30, 2021 16:005,04341,917,80815,129,0001,008,0002,265,088
3May 30, 2021 16:005,04740,443,87714,131,0002,018,0002,265,088
4May 30, 2021 16:005,05845,323,65014,164,0002,023,0002,396,160
5May 30, 2021 16:005,06146,404,51214,172,0002,024,0002,265,088
6May 30, 2021 16:005,07933,424,65214,223,0002,031,0002,527,232
7May 30, 2021 16:005,08335,408,19814,232,0002,033,0002,379,776
8May 30, 2021 16:005,08839,457,82414,246,0002,035,0002,265,088
9May 30, 2021 16:005,09740,447,95016,311,00002,400,256
10May 30, 2021 16:005,22489,895,33016,715,31202,281,472
11May 30, 2021 16:005,24283,576,55716,774,34002,285,568
12May 30, 2021 16:005,25597,007,73016,816,18002,281,472