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:15Yuriy LyfenkoYuriy LyfenkoScore: 5,132Success
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:155,07837,185,79614,220,0002,031,0002,527,232
2May 24, 2021 18:155,08934,715,83615,269,0001,017,0002,404,352
3May 24, 2021 18:155,09745,689,64915,290,0001,019,0002,392,064
4May 24, 2021 18:155,09831,755,49914,274,0002,039,0002,265,088
5May 24, 2021 18:155,10843,175,93716,344,00002,265,088
6May 24, 2021 18:155,12743,911,84316,405,00002,387,968
7May 24, 2021 18:155,13238,623,87516,422,00002,265,088
8May 24, 2021 18:155,13735,974,62915,412,0001,027,0002,265,088
9May 24, 2021 18:155,15142,257,32216,482,00002,396,160
10May 24, 2021 18:155,32756,393,52317,047,08502,277,376
11May 24, 2021 18:155,33171,418,71317,060,38202,285,568
12May 24, 2021 18:155,33661,502,69717,074,45102,277,376