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 23:11Mikhail ShirokovMikhail ShirokovScore: 5,723Success
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 23:115,63744,241,34916,034,0002,004,000290,816
2Sep 29, 2021 23:115,65939,632,24917,103,0001,006,000425,984
3Sep 29, 2021 23:115,66546,566,05716,113,0002,014,000294,912
4Sep 29, 2021 23:115,68039,175,38016,158,0002,019,000290,816
5Sep 29, 2021 23:115,71239,180,37817,262,0001,015,000425,984
6Sep 29, 2021 23:115,72343,522,38218,312,0000417,792
7Sep 29, 2021 23:115,72346,390,74517,295,0001,017,0002,392,064
8Sep 29, 2021 23:115,72745,635,33318,326,00002,510,848
9Sep 29, 2021 23:115,76329,817,20417,418,0001,024,0002,392,064
10Sep 29, 2021 23:115,94794,276,46119,031,20702,285,568
11Sep 29, 2021 23:115,95283,139,18019,047,40502,281,472
12Sep 29, 2021 23:116,00084,781,07319,200,80602,277,376