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 24, 2021 18:39Yuriy LyfenkoYuriy LyfenkoScore: 5,096Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:395,04832,352,66815,146,0001,009,0002,400,256
2May 24, 2021 18:395,06342,512,22714,175,0002,025,0002,265,088
3May 24, 2021 18:395,07634,810,53114,212,0002,030,0002,265,088
4May 24, 2021 18:395,08143,443,57616,260,00002,527,232
5May 24, 2021 18:395,08445,232,38114,237,0002,033,0002,396,160
6May 24, 2021 18:395,09246,680,80315,276,0001,018,0002,265,088
7May 24, 2021 18:395,09643,251,80114,269,0002,038,0002,265,088
8May 24, 2021 18:395,09634,386,65314,270,0002,038,0002,265,088
9May 24, 2021 18:395,11136,502,93615,333,0001,022,0002,265,088
10May 24, 2021 18:395,26148,335,89216,835,94202,285,568
11May 24, 2021 18:395,33051,464,75817,054,52902,277,376
12May 24, 2021 18:395,77679,575,39718,483,04902,277,376