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 listJul 6, 2021 00:15Yuriy LyfenkoYuriy LyfenkoScore: 5,083Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:155,03846,635,03314,106,0002,015,0002,400,256
2Jul 6, 2021 00:155,04434,491,75215,132,0001,008,0002,400,256
3Jul 6, 2021 00:155,05242,622,26015,157,0001,010,0002,400,256
4Jul 6, 2021 00:155,05540,597,25215,166,0001,011,0002,387,968
5Jul 6, 2021 00:155,06244,597,16114,173,0002,024,0002,269,184
6Jul 6, 2021 00:155,06538,695,13215,196,0001,013,0002,387,968
7Jul 6, 2021 00:155,08336,024,42414,232,0002,033,0002,265,088
8Jul 6, 2021 00:155,08337,243,70015,251,0001,016,0002,396,160
9Jul 6, 2021 00:155,09431,980,67216,300,00002,265,088
10Jul 6, 2021 00:155,23988,536,32516,763,77002,240,512
11Jul 6, 2021 00:155,25872,524,66216,825,58802,269,184
12Jul 6, 2021 00:155,28075,513,83116,896,86002,277,376