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 listJun 2, 2021 17:20Yuriy LyfenkoYuriy LyfenkoScore: 5,074Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 17:205,01833,336,07315,055,0001,003,0002,527,232
2Jun 2, 2021 17:205,02434,285,71415,074,0001,004,0002,265,088
3Jun 2, 2021 17:205,02645,042,09515,079,0001,005,0002,269,184
4Jun 2, 2021 17:205,04132,862,70414,115,0002,016,0002,265,088
5Jun 2, 2021 17:205,04544,367,85915,135,0001,009,0002,506,752
6Jun 2, 2021 17:205,04734,468,71914,131,0002,018,0002,265,088
7Jun 2, 2021 17:205,07435,043,23614,207,0002,029,0002,392,064
8Jun 2, 2021 17:205,07732,984,74314,215,0002,030,0002,498,560
9Jun 2, 2021 17:205,08443,001,71815,252,0001,016,0002,265,088
10Jun 2, 2021 17:205,25178,518,01616,804,27902,285,568
11Jun 2, 2021 17:205,26576,250,63316,848,40402,277,376
12Jun 2, 2021 17:205,29780,327,31216,951,45602,269,184