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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 23:525,64635,359,66016,060,0002,007,0002,519,040
2May 15, 2021 23:535,64736,865,17414,055,0004,015,0002,392,064
3May 15, 2021 23:525,65236,654,43716,076,0002,009,0002,510,848
4May 15, 2021 23:525,65442,571,27916,083,0002,010,0002,523,136
5May 15, 2021 23:525,65833,423,26216,094,0002,011,0002,260,992
6May 15, 2021 23:535,66542,259,78117,121,0001,007,0002,387,968
7May 15, 2021 23:535,67650,094,41815,137,0003,027,0002,392,064
8May 15, 2021 23:525,67743,364,35617,157,0001,009,0002,387,968
9May 15, 2021 23:525,67847,162,89316,151,0002,018,0002,387,968
10May 15, 2021 23:525,67849,756,63617,162,0001,009,0002,519,040
11May 15, 2021 23:535,68244,255,56615,151,0003,030,0002,523,136
12May 15, 2021 23:535,68333,806,83316,165,0002,020,0002,519,040
13May 15, 2021 23:535,68348,673,95617,176,0001,010,0002,519,040
14May 15, 2021 23:525,68848,143,31915,167,0003,033,0002,519,040
15May 15, 2021 23:535,70336,995,94716,222,0002,027,0002,519,040
16May 15, 2021 23:535,70641,742,84316,231,0002,028,0002,519,040
17May 15, 2021 23:525,70737,780,93417,249,0001,014,0002,392,064
18May 15, 2021 23:535,78434,246,46416,452,0002,056,0002,383,872
19May 15, 2021 23:526,19279,180,13019,814,87102,293,760
20May 15, 2021 23:536,20180,725,53719,843,34102,277,376
21May 15, 2021 23:536,21175,387,89519,874,72602,285,568
22May 15, 2021 23:526,23298,327,60819,942,80902,281,472
23May 15, 2021 23:536,23386,716,62319,945,64502,273,280
24May 15, 2021 23:526,25093,543,29120,001,03702,285,568