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 27, 2021 22:04Yuriy LyfenkoYuriy LyfenkoScore: 5,142Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 21:395,08532,035,72014,238,0002,034,0002,265,088
2May 27, 2021 21:395,10136,339,93315,304,0001,020,0002,260,992
3May 27, 2021 21:395,10233,704,08615,307,0001,020,0002,387,968
4May 27, 2021 21:395,10739,079,86815,322,0001,021,0002,392,064
5May 27, 2021 21:395,10836,048,01316,344,00002,387,968
6May 27, 2021 21:395,10940,998,33316,348,00002,523,136
7May 27, 2021 21:395,11142,145,83816,354,00002,523,136
8May 27, 2021 21:395,11133,727,99715,333,0001,022,0002,392,064
9May 27, 2021 21:395,12135,041,81315,362,0001,024,0002,265,088
10May 27, 2021 22:045,12233,501,49115,366,0001,024,0002,519,040
11May 27, 2021 21:395,13144,605,41516,418,00002,265,088
12May 27, 2021 21:395,13335,416,27915,401,0001,026,0002,383,872
13May 27, 2021 22:045,13743,709,05615,412,0001,027,0002,387,968
14May 27, 2021 21:395,13743,713,30015,410,0001,027,0002,392,064
15May 27, 2021 21:395,13736,223,82916,438,00002,523,136
16May 27, 2021 21:395,13736,268,15515,412,0001,027,0002,519,040
17May 27, 2021 22:045,14132,565,93616,452,00002,523,136
18May 27, 2021 22:045,14133,724,26515,424,0001,028,0002,260,992
19May 27, 2021 21:395,14241,818,00516,455,00002,265,088
20May 27, 2021 21:395,14243,460,27616,455,00002,519,040
21May 27, 2021 22:045,14333,901,81416,458,00002,260,992
22May 27, 2021 21:395,14335,362,64716,456,00002,523,136
23May 27, 2021 21:395,15238,264,44415,457,0001,030,0002,265,088
24May 27, 2021 22:045,16044,583,62516,511,00002,523,136
25May 27, 2021 22:045,16141,360,39615,483,0001,032,0002,260,992
26May 27, 2021 22:045,16445,237,47315,493,0001,032,0002,392,064
27May 27, 2021 22:045,17333,214,01214,485,0002,069,0002,519,040
28May 27, 2021 21:395,29660,562,34916,946,39602,281,472
29May 27, 2021 21:395,32449,361,75317,035,62002,277,376
30May 27, 2021 21:395,33674,310,09217,074,43402,277,376
31May 27, 2021 21:395,37651,735,48317,203,52402,277,376
32May 27, 2021 21:395,38266,222,57017,223,07702,277,376
33May 27, 2021 22:045,38962,409,96017,245,79402,273,280
34May 27, 2021 22:045,39648,233,92917,267,22702,277,376
35May 27, 2021 21:395,40163,444,59417,284,00802,281,472
36May 27, 2021 22:045,41675,214,62917,329,96202,277,376