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:25Yuriy LyfenkoYuriy LyfenkoScore: 5,184Success
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:255,14837,017,29115,445,0001,029,0002,265,088
2May 28, 2021 15:255,15940,061,58016,509,00002,527,232
3May 28, 2021 15:335,15935,348,93416,508,00002,387,968
4May 28, 2021 15:255,16036,521,10415,480,0001,032,0002,383,872
5May 28, 2021 15:335,16233,481,09416,519,00002,387,968
6May 28, 2021 15:335,16335,310,18516,523,00002,527,232
7May 28, 2021 15:335,16341,312,48315,491,0001,032,0002,265,088
8May 28, 2021 15:255,16847,586,36316,537,00002,506,752
9May 28, 2021 15:335,16840,125,46715,506,0001,033,0002,265,088
10May 28, 2021 15:335,17334,401,67615,519,0001,034,0002,523,136
11May 28, 2021 15:255,17440,685,18015,523,0001,034,0002,392,064
12May 28, 2021 15:255,17839,480,85515,536,0001,035,0002,392,064
13May 28, 2021 15:335,18437,960,35416,590,00002,510,848
14May 28, 2021 15:335,19842,550,29116,632,00002,265,088
15May 28, 2021 15:255,19947,917,11816,636,00002,396,160
16May 28, 2021 15:335,20647,758,45316,658,00002,265,088
17May 28, 2021 15:255,20632,539,51416,660,00002,265,088
18May 28, 2021 15:255,21937,786,65815,658,0001,043,0002,265,088
19May 28, 2021 15:335,35451,896,89517,132,16302,244,608
20May 28, 2021 15:255,37975,391,22817,212,68602,281,472
21May 28, 2021 15:255,39756,655,52017,271,00802,281,472
22May 28, 2021 15:335,39891,648,07917,273,52702,281,472
23May 28, 2021 15:255,41255,843,62117,316,91002,277,376
24May 28, 2021 15:335,49766,321,77217,589,60402,285,568