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 listMay 17, 2021 19:37Yuriy LyfenkoYuriy LyfenkoScore: 5,386Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:375,35740,479,86015,125,0002,016,0002,392,064
2May 17, 2021 19:375,35741,502,03715,127,0002,016,0002,269,184
3May 17, 2021 19:375,35941,855,03915,132,0002,017,0002,387,968
4May 17, 2021 19:375,36242,010,59717,157,00002,265,088
5May 17, 2021 19:375,36938,433,12016,170,0001,010,0002,396,160
6May 17, 2021 19:375,37344,661,92914,161,0003,034,0002,392,064
7May 17, 2021 19:375,38642,296,46317,235,00002,506,752
8May 17, 2021 19:375,39447,398,59615,231,0002,030,0002,387,968
9May 17, 2021 19:375,40244,454,72016,269,0001,016,0002,387,968
10May 17, 2021 19:375,62290,012,48317,989,90602,277,376
11May 17, 2021 19:375,65064,453,28118,078,76802,277,376
12May 17, 2021 19:375,65578,937,29918,096,72302,273,280