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 listSep 29, 2021 13:57Andrey TsvetkovAndrey TsvetkovScore: 5,705Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 13:575,67138,315,83216,130,0002,016,0002,334,720
2Sep 29, 2021 13:575,67840,764,43916,151,0002,018,0002,449,408
3Sep 29, 2021 13:575,68238,219,09516,163,0002,020,0002,314,240
4Sep 29, 2021 13:575,68936,899,19115,170,0003,034,0002,334,720
5Sep 29, 2021 13:575,69446,216,76317,210,0001,012,0002,457,600
6Sep 29, 2021 13:575,69536,521,20217,211,0001,012,0002,334,720
7Sep 29, 2021 13:575,70546,804,26616,229,0002,028,0002,314,240
8Sep 29, 2021 13:575,72039,506,23315,253,0003,050,0002,457,600
9Sep 29, 2021 13:575,73744,371,69715,299,0003,059,0002,461,696
10Sep 29, 2021 13:575,75381,107,62418,410,72602,285,568
11Sep 29, 2021 13:575,86385,175,60018,762,70102,285,568
12Sep 29, 2021 13:575,94581,183,41719,024,92802,285,568