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 listMay 30, 2021 16:51Yuriy LyfenkoYuriy LyfenkoScore: 5,059Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:514,99635,292,41914,923,0001,065,0002,404,352
2May 30, 2021 16:515,00642,311,39714,016,0002,002,0002,281,472
3May 30, 2021 16:515,02232,578,36315,065,0001,004,0002,412,544
4May 30, 2021 16:515,02333,070,91115,069,0001,004,0002,281,472
5May 30, 2021 16:515,03832,009,66214,105,0002,015,0002,281,472
6May 30, 2021 16:515,04543,909,01415,135,0001,009,0002,281,472
7May 30, 2021 16:515,05946,533,50214,165,0002,023,0002,281,472
8May 30, 2021 16:515,05936,355,52215,177,0001,011,0002,281,472
9May 30, 2021 16:515,06634,943,19415,197,0001,013,0002,281,472
10May 30, 2021 16:515,20455,932,53316,652,80202,285,568
11May 30, 2021 16:515,20963,641,90216,670,15502,277,376
12May 30, 2021 16:515,25367,570,96916,808,96402,289,664