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 17, 2021 13:57Yuriy LyfenkoYuriy LyfenkoScore: 5,415Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 13:575,3753,755,058,18115,178,0002,023,0002,527,232
2May 17, 2021 13:575,3784,669,408,04616,254,000956,0002,527,232
3May 17, 2021 13:575,3824,399,054,79415,196,0002,026,0002,523,136
4May 17, 2021 13:575,3842,613,920,73617,229,00002,265,088
5May 17, 2021 13:575,4023,027,638,91017,286,00002,265,088
6May 17, 2021 13:575,413913,623,96116,358,000962,0002,269,184
7May 17, 2021 13:575,4151,055,627,77517,329,00002,527,232
8May 17, 2021 13:575,4191,625,363,01915,300,0002,040,0002,269,184
9May 17, 2021 13:575,4193,919,921,69117,340,00002,265,088
10May 17, 2021 13:575,5722,652,950,85417,829,79502,281,472
11May 17, 2021 13:575,5844,046,777,87917,868,76502,277,376
12May 17, 2021 13:575,591642,962,04617,892,64402,281,472