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 16, 2021 18:10Yuriy LyfenkoYuriy LyfenkoScore: 5,440Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:105,401384,252,47214,402,0002,880,0002,523,136
2May 16, 2021 18:105,408798,054,15916,289,0001,018,0002,523,136
3May 16, 2021 18:105,418204,741,21317,336,00002,392,064
4May 16, 2021 18:105,418128,037,20216,375,000963,0002,260,992
5May 16, 2021 18:105,427315,538,43516,401,000964,0002,523,136
6May 16, 2021 18:105,431736,695,62316,414,000965,0002,269,184
7May 16, 2021 18:105,440602,479,58115,360,0002,048,0002,523,136
8May 16, 2021 18:105,441671,646,14615,478,0001,934,0002,523,136
9May 16, 2021 18:105,453992,947,53517,448,00002,383,872
10May 16, 2021 18:105,627717,327,74418,004,89202,289,664
11May 16, 2021 18:105,648375,669,50918,074,13802,281,472
12May 16, 2021 18:105,652997,599,99818,085,57302,277,376