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 listDec 19, 2023 04:43Kenneth MaplesKenneth MaplesScore: 5,222Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2023 04:435,18038,980,47215,540,0001,036,0002,265,088
2Dec 19, 2023 04:435,18842,993,78815,563,0001,037,0002,527,232
3Dec 19, 2023 04:435,19942,832,14915,599,0001,039,0002,265,088
4Dec 19, 2023 04:435,20741,703,99415,620,0001,041,0002,383,872
5Dec 19, 2023 04:435,21541,767,27916,687,00002,265,088
6Dec 19, 2023 04:435,21844,880,26616,697,00002,265,088
7Dec 19, 2023 04:435,22242,571,66916,711,00002,396,160
8Dec 19, 2023 04:435,22238,398,75416,711,00002,383,872
9Dec 19, 2023 04:435,27245,078,74616,869,00002,392,064
10Dec 19, 2023 04:435,39183,271,22717,249,76102,273,280
11Dec 19, 2023 04:435,41871,610,90817,336,34902,269,184
12Dec 19, 2023 04:435,42557,946,84117,358,55002,265,088