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 25, 2021 23:56Mikhail DektyarevMikhail DektyarevScore: 4,658Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 23:564,64139,103,99112,871,0001,980,0002,404,352
2May 25, 2021 23:564,64228,624,92713,864,000990,0002,281,472
3May 25, 2021 23:564,64531,881,88913,874,000991,0002,281,472
4May 25, 2021 23:564,64631,794,53412,886,0001,982,0002,400,256
5May 25, 2021 23:564,64731,263,63712,889,0001,982,0002,281,472
6May 25, 2021 23:564,64734,132,52913,878,000991,0002,281,472
7May 25, 2021 23:564,64833,791,13313,881,000991,0002,510,848
8May 25, 2021 23:564,64939,495,52113,886,000991,0002,510,848
9May 25, 2021 23:564,65137,819,85914,883,00002,379,776
10May 25, 2021 23:564,65136,491,40413,890,000992,0002,281,472
11May 25, 2021 23:564,65536,093,54312,910,0001,986,0002,400,256
12May 25, 2021 23:564,65543,511,30012,910,0001,986,0002,281,472
13May 25, 2021 23:564,65837,546,43312,918,0001,987,0002,519,040
14May 25, 2021 23:564,65842,009,46913,914,000993,0002,281,472
15May 25, 2021 23:564,66337,686,09014,920,00002,273,280
16May 25, 2021 23:564,66332,371,61113,928,000994,0002,281,472
17May 25, 2021 23:564,66536,364,87614,927,00002,281,472
18May 25, 2021 23:564,66936,184,73712,949,0001,992,0002,281,472
19May 25, 2021 23:564,83635,726,93315,474,39902,293,760
20May 25, 2021 23:564,84697,485,57315,508,32002,285,568
21May 25, 2021 23:564,85995,648,49115,549,22102,293,760
22May 25, 2021 23:564,87344,200,34415,594,09202,293,760
23May 25, 2021 23:564,87883,027,56415,609,81002,293,760
24May 25, 2021 23:565,13244,664,23416,423,97902,289,664