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 listJul 8, 2021 17:17Yuriy LyfenkoYuriy LyfenkoScore: 4,476Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 17:174,427538,612,54513,154,0001,011,0002,527,232
2Jul 8, 2021 17:174,428536,497,13712,146,0002,024,0002,396,160
3Jul 8, 2021 17:174,432537,864,04013,169,0001,013,0002,523,136
4Jul 8, 2021 17:174,439537,274,98712,175,0002,029,0002,523,136
5Jul 8, 2021 17:174,449538,009,55513,221,0001,017,0002,523,136
6Jul 8, 2021 17:174,469538,465,03014,300,00002,392,064
7Jul 8, 2021 17:174,476535,655,73213,301,0001,023,0002,260,992
8Jul 8, 2021 17:174,485539,654,38312,301,0002,050,0002,387,968
9Jul 8, 2021 17:174,487537,270,21213,332,0001,025,0002,473,984
10Jul 8, 2021 17:174,597572,808,32014,711,22002,240,512
11Jul 8, 2021 17:174,605572,696,42414,737,34002,281,472
12Jul 8, 2021 17:174,610569,495,65014,752,68602,277,376