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 28, 2021 15:23Yuriy LyfenkoYuriy LyfenkoScore: 5,163Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 15:235,12348,296,61215,368,0001,024,0002,265,088
2May 28, 2021 15:235,13332,449,36915,399,0001,026,0002,265,088
3May 28, 2021 15:235,13732,804,16516,438,00002,265,088
4May 28, 2021 15:235,14135,557,66016,452,00002,527,232
5May 28, 2021 15:235,14738,076,93915,440,0001,029,0002,265,088
6May 28, 2021 15:235,15441,132,35616,492,00002,387,968
7May 28, 2021 15:235,16341,082,10315,491,0001,032,0002,265,088
8May 28, 2021 15:235,17830,471,88616,568,00002,265,088
9May 28, 2021 15:235,18032,891,00515,540,0001,036,0002,265,088
10May 28, 2021 15:235,35346,450,17417,128,39802,277,376
11May 28, 2021 15:235,36485,299,90217,163,96702,277,376
12May 28, 2021 15:235,39550,668,74717,264,83102,281,472