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 22:49Yuriy LyfenkoYuriy LyfenkoScore: 5,413Success
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 22:495,3782,968,432,00014,342,0002,868,0002,265,088
2May 17, 2021 22:495,3841,141,388,85817,230,00002,256,896
3May 17, 2021 22:495,3912,236,985,51517,252,00002,523,136
4May 17, 2021 22:495,39946,518,09615,359,0001,919,0002,392,064
5May 17, 2021 22:495,402584,407,36315,252,0002,033,0002,260,992
6May 17, 2021 22:495,406367,651,85116,338,000961,0002,527,232
7May 17, 2021 22:495,4132,225,633,11717,321,00002,523,136
8May 17, 2021 22:495,4173,010,675,05216,372,000963,0002,260,992
9May 17, 2021 22:495,4332,784,818,00317,386,00002,523,136
10May 17, 2021 22:495,610768,123,57617,952,32602,277,376
11May 17, 2021 22:495,614344,624,93117,965,46902,281,472
12May 17, 2021 22:495,632812,335,54418,022,91102,277,376