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 29, 2021 17:34Yuriy 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 29, 2021 17:345,02332,788,35314,063,0002,009,0002,281,472
2May 29, 2021 17:345,03138,404,45514,086,0002,012,0002,281,472
3May 29, 2021 17:345,04032,467,26414,113,0002,016,0002,408,448
4May 29, 2021 17:345,04732,712,79914,132,0002,018,0002,281,472
5May 29, 2021 17:345,05136,095,04214,144,0002,020,0002,281,472
6May 29, 2021 17:345,05340,466,31814,149,0002,021,0002,281,472
7May 29, 2021 17:345,07332,594,26614,204,0002,029,0002,400,256
8May 29, 2021 17:345,07437,737,40415,224,0001,014,0002,519,040
9May 29, 2021 17:345,08335,001,51315,251,0001,016,0002,408,448
10May 29, 2021 17:345,20661,365,05516,658,93402,289,664
11May 29, 2021 17:345,22878,116,36516,729,57402,285,568
12May 29, 2021 17:345,25887,670,75116,826,37202,293,760