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 20:31Yuriy LyfenkoYuriy LyfenkoScore: 5,998Success
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 20:315,9631,047,002,22216,069,0003,012,0002,334,720
2Jun 2, 2021 20:315,9761,042,219,14317,110,0002,012,0002,330,624
3Jun 2, 2021 20:315,9781,044,417,09117,116,0002,013,0002,330,624
4Jun 2, 2021 20:315,9881,044,881,60517,145,0002,017,0002,514,944
5Jun 2, 2021 20:315,9891,045,465,48417,147,0002,017,0002,342,912
6Jun 2, 2021 20:315,9941,044,433,18616,153,0003,028,0002,330,624
7Jun 2, 2021 20:315,9981,042,057,81916,165,0003,030,0002,334,720
8Jun 2, 2021 20:316,0061,045,317,32516,184,0003,034,0002,330,624
9Jun 2, 2021 20:316,0151,042,115,70218,234,0001,013,0002,334,720
10Jun 2, 2021 20:316,0601,089,080,31419,393,55602,252,800
11Jun 2, 2021 20:316,1091,080,586,00019,550,25202,252,800
12Jun 2, 2021 20:316,1351,080,551,13419,632,01102,252,800