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 11, 2021 19:13Yuriy LyfenkoYuriy LyfenkoScore: 5,673Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 19:135,65450,877,95116,083,0002,010,0002,396,160
2May 11, 2021 19:135,65636,772,32916,088,0002,011,0002,519,040
3May 11, 2021 19:135,65941,216,50217,104,0001,006,0002,392,064
4May 11, 2021 19:135,65949,797,90416,098,0002,012,0002,383,872
5May 11, 2021 19:135,66037,198,86017,105,0001,006,0002,387,968
6May 11, 2021 19:135,66544,692,12816,115,0002,014,0002,519,040
7May 11, 2021 19:135,67345,301,70616,137,0002,017,0002,519,040
8May 11, 2021 19:135,68545,552,58816,171,0002,021,0002,523,136
9May 11, 2021 19:135,70841,863,36717,253,0001,014,0002,383,872
10May 11, 2021 19:135,93781,260,73018,997,44002,273,280
11May 11, 2021 19:135,94379,992,93719,018,59102,285,568
12May 11, 2021 19:135,978106,867,89219,129,03202,281,472