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 13, 2023 00:52gchebanovgchebanovScore: 5,355Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2023 00:525,32433,649,50915,033,0002,004,0002,265,088
2Jul 13, 2023 00:525,33842,796,12716,076,0001,004,0002,392,064
3Jul 13, 2023 00:525,33847,041,61515,071,0002,009,0002,269,184
4Jul 13, 2023 00:525,34042,833,31415,078,0002,010,0002,527,232
5Jul 13, 2023 00:525,34134,328,07016,086,0001,005,0002,265,088
6Jul 13, 2023 00:525,35242,862,99315,111,0002,014,0002,527,232
7Jul 13, 2023 00:525,35534,424,74915,120,0002,016,0002,269,184
8Jul 13, 2023 00:525,36746,714,91416,165,0001,010,0002,527,232
9Jul 13, 2023 00:525,36947,027,93616,170,0001,010,0002,527,232
10Jul 13, 2023 00:525,54381,446,03117,737,94402,273,280
11Jul 13, 2023 00:525,57887,278,02717,850,76302,277,376
12Jul 13, 2023 00:525,61469,865,03017,965,07102,285,568