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 23, 2021 17:30Yuriy LyfenkoYuriy LyfenkoScore: 5,465Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 17:305,41943,758,55216,320,0001,020,0002,510,848
2May 23, 2021 17:305,41942,130,68116,321,0001,020,0002,265,088
3May 23, 2021 17:305,43040,986,19016,354,0001,022,0002,396,160
4May 23, 2021 17:305,44344,118,23417,416,00002,527,232
5May 23, 2021 17:305,44739,890,36716,406,0001,025,0002,404,352
6May 23, 2021 17:305,45135,095,85816,417,0001,026,0002,400,256
7May 23, 2021 17:305,46540,642,00917,489,00002,396,160
8May 23, 2021 17:305,46834,073,23316,467,0001,029,0002,396,160
9May 23, 2021 17:305,48844,343,03317,562,00002,396,160
10May 23, 2021 17:305,52377,356,38817,674,20502,273,280
11May 23, 2021 17:305,52876,968,09917,689,39202,281,472
12May 23, 2021 17:305,53089,515,00517,697,52102,281,472