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 25, 2021 15:33Yuriy LyfenkoYuriy LyfenkoScore: 5,349Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:335,31349,054,36615,001,0002,000,0002,392,064
2May 25, 2021 15:335,31935,283,72015,018,0002,002,0002,400,256
3May 25, 2021 15:335,33142,983,60316,055,0001,003,0002,527,232
4May 25, 2021 15:335,34045,053,36516,083,0001,005,0002,392,064
5May 25, 2021 15:335,34349,121,08315,088,0002,011,0002,265,088
6May 25, 2021 15:335,34649,318,25715,094,0002,012,0002,404,352
7May 25, 2021 15:335,34948,300,81715,103,0002,013,0002,265,088
8May 25, 2021 15:335,35634,924,80716,132,0001,008,0002,265,088
9May 25, 2021 15:335,36044,500,78315,135,0002,018,0002,400,256
10May 25, 2021 15:335,52374,660,64817,672,75402,277,376
11May 25, 2021 15:335,54356,212,61417,736,99302,273,280
12May 25, 2021 15:335,56551,903,71417,806,90702,281,472