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 listAug 7, 2021 17:56Jules MinierJules MinierScore: 5,933Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2021 17:565,89847,212,11116,886,0001,986,0002,289,664
2Aug 7, 2021 17:565,90440,573,24516,904,0001,988,0002,523,136
3Aug 7, 2021 17:565,90544,837,72717,902,000994,0002,265,088
4Aug 7, 2021 17:565,91639,691,14516,939,0001,992,0002,289,664
5Aug 7, 2021 17:565,91746,509,44217,937,000996,0002,277,376
6Aug 7, 2021 17:565,93343,162,46217,986,000999,0002,277,376
7Aug 7, 2021 17:565,93340,455,33516,988,0001,998,0002,404,352
8Aug 7, 2021 17:565,93645,818,72116,996,0001,999,0002,265,088
9Aug 7, 2021 17:565,94545,873,01117,022,0002,002,0002,289,664
10Aug 7, 2021 17:566,11876,324,35919,578,18402,289,664
11Aug 7, 2021 17:566,13988,945,69819,643,51002,301,952
12Aug 7, 2021 17:566,14791,248,74319,669,24802,301,952