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 04:45Yuriy LyfenkoYuriy LyfenkoScore: 5,688Success
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 04:455,64335,885,42816,053,0002,006,0002,387,968
2May 15, 2021 04:455,64850,016,60316,064,0002,008,0002,519,040
3May 15, 2021 04:455,65245,320,35216,077,0002,009,0002,519,040
4May 15, 2021 04:455,65242,650,79116,077,0002,009,0002,260,992
5May 15, 2021 04:455,65944,512,12316,096,0002,012,0002,387,968
6May 15, 2021 04:455,65942,542,15216,097,0002,012,0002,387,968
7May 15, 2021 04:455,66042,756,58316,099,0002,012,0002,383,872
8May 15, 2021 04:455,67334,946,24914,119,0004,034,0002,392,064
9May 15, 2021 04:455,67636,662,77716,146,0002,018,0002,519,040
10May 15, 2021 04:455,68037,430,25317,167,0001,009,0002,519,040
11May 15, 2021 04:455,68142,747,30517,170,0001,010,0002,519,040
12May 15, 2021 04:455,68648,900,14516,173,0002,021,0002,383,872
13May 15, 2021 04:455,68838,034,70816,179,0002,022,0002,392,064
14May 15, 2021 04:455,69444,938,42617,208,0001,012,0002,396,160
15May 15, 2021 04:455,71243,796,75317,262,0001,015,0002,519,040
16May 15, 2021 04:455,71344,265,31617,267,0001,015,0002,260,992
17May 15, 2021 04:455,71546,154,93516,257,0002,032,0002,387,968
18May 15, 2021 04:455,71740,841,74018,294,00002,523,136
19May 15, 2021 04:455,87783,168,97118,805,25802,289,664
20May 15, 2021 04:455,90084,940,02218,880,10502,277,376
21May 15, 2021 04:455,92990,439,37818,971,45502,289,664
22May 15, 2021 04:455,94183,782,69119,010,51402,281,472
23May 15, 2021 04:455,94491,982,45019,021,65902,281,472
24May 15, 2021 04:455,95481,662,88219,051,44302,289,664