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:56gchebanovgchebanovScore: 5,349Success
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:565,30031,224,49114,964,0001,995,0002,400,256
2Jul 13, 2023 00:565,30545,123,01515,979,000998,0002,281,472
3Jul 13, 2023 00:565,31539,516,01116,007,0001,000,0002,392,064
4Jul 13, 2023 00:565,33245,315,05016,059,0001,003,0002,404,352
5Jul 13, 2023 00:565,33343,641,43216,061,0001,003,0002,408,448
6Jul 13, 2023 00:565,33838,891,04516,076,0001,004,0002,281,472
7Jul 13, 2023 00:565,34932,268,52916,111,0001,006,0002,281,472
8Jul 13, 2023 00:565,35832,897,34515,129,0002,017,0002,396,160
9Jul 13, 2023 00:565,36345,950,96316,154,0001,009,0002,400,256
10Jul 13, 2023 00:565,53579,902,08617,710,49102,256,896
11Jul 13, 2023 00:565,54771,402,34317,750,66402,289,664
12Jul 13, 2023 00:565,56879,843,52017,816,82402,293,760