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 listNov 1, 2021 14:49Ilya AniskovetsIlya AniskovetsScore: 5,375Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 14:495,33839,124,07915,074,0002,009,0002,265,088
2Nov 1, 2021 14:495,34145,812,36816,085,0001,005,0002,396,160
3Nov 1, 2021 14:495,35143,326,30915,110,0002,014,0002,396,160
4Nov 1, 2021 14:495,35543,438,53015,121,0002,016,0002,383,872
5Nov 1, 2021 14:495,36643,777,12816,161,0001,010,0002,265,088
6Nov 1, 2021 14:495,37543,044,61416,188,0001,011,0002,527,232
7Nov 1, 2021 14:495,37545,055,61615,176,0002,023,0002,392,064
8Nov 1, 2021 14:495,38244,226,15616,210,0001,013,0002,265,088
9Nov 1, 2021 14:495,40241,772,40615,252,0002,033,0002,265,088
10Nov 1, 2021 14:495,52075,328,43817,663,81702,285,568
11Nov 1, 2021 14:495,52484,986,13717,677,20202,277,376
12Nov 1, 2021 14:495,54374,720,04717,737,30802,273,280