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 4, 2021 04:46Yuriy LyfenkoYuriy LyfenkoScore: 5,051Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2021 04:464,99946,221,05913,999,0001,999,0002,281,472
2Jun 4, 2021 04:465,00647,144,24114,016,0002,002,0002,281,472
3Jun 4, 2021 04:465,00646,290,37515,017,0001,001,0002,392,064
4Jun 4, 2021 04:465,00841,207,93114,023,0002,003,0002,400,256
5Jun 4, 2021 04:465,01851,082,10914,052,0002,007,0002,408,448
6Jun 4, 2021 04:465,04245,394,25015,059,0001,075,0002,281,472
7Jun 4, 2021 04:465,05144,502,91715,154,0001,010,0002,281,472
8Jun 4, 2021 04:465,06150,082,68014,170,0002,024,0002,281,472
9Jun 4, 2021 04:465,07443,651,81914,207,0002,029,0002,404,352
10Jun 4, 2021 04:465,15486,318,42316,494,16002,252,800
11Jun 4, 2021 04:465,15990,828,88516,508,48102,252,800
12Jun 4, 2021 04:465,210103,913,26816,670,79202,252,800