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 30, 2024 03:33BenBenScore: 5,142Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:335,02740,840,25615,080,0001,005,0002,265,088
2Jul 30, 2024 03:335,07447,781,33514,209,0002,029,0002,265,088
3Jul 30, 2024 03:335,08435,221,95714,237,0002,033,0002,265,088
4Jul 30, 2024 03:335,10844,095,24616,344,00002,269,184
5Jul 30, 2024 03:335,10839,321,63916,346,00002,392,064
6Jul 30, 2024 03:335,13534,282,42516,433,00002,265,088
7Jul 30, 2024 03:335,14234,312,31015,425,0001,028,0002,265,088
8Jul 30, 2024 03:335,14449,341,46016,460,00002,387,968
9Jul 30, 2024 03:335,14633,694,64316,468,00002,387,968
10Jul 30, 2024 03:335,16584,700,72916,527,26402,285,568
11Jul 30, 2024 03:335,252105,262,72516,804,93202,289,664
12Jul 30, 2024 03:335,34079,029,56117,089,57102,289,664