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 17, 2021 19:34Yuriy LyfenkoYuriy LyfenkoScore: 5,353Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:345,3271,036,371,19817,046,00002,527,232
2May 17, 2021 19:335,33066,966,30015,050,0002,006,0002,265,088
3May 17, 2021 19:345,3372,548,589,42716,129,000948,0002,265,088
4May 17, 2021 19:335,3392,543,084,88017,086,00002,269,184
5May 17, 2021 19:345,339183,051,27816,081,0001,005,0002,269,184
6May 17, 2021 19:335,3401,880,136,26015,077,0002,010,0002,269,184
7May 17, 2021 19:345,340311,146,42316,084,0001,005,0002,265,088
8May 17, 2021 19:345,3432,838,066,94616,093,0001,005,0002,260,992
9May 17, 2021 19:345,3442,486,027,57816,095,0001,005,0002,523,136
10May 17, 2021 19:335,3441,056,183,57113,301,0003,800,0002,523,136
11May 17, 2021 19:345,3451,570,745,67716,097,0001,006,0002,265,088
12May 17, 2021 19:335,3452,819,952,45015,203,0001,900,0002,523,136
13May 17, 2021 19:335,351716,022,56816,115,0001,007,0002,265,088
14May 17, 2021 19:345,351403,866,20516,173,000951,0002,396,160
15May 17, 2021 19:335,3522,944,919,59315,112,0002,014,0002,265,088
16May 17, 2021 19:345,3523,015,253,96615,111,0002,014,0002,265,088
17May 17, 2021 19:335,352259,409,81216,119,0001,007,0002,400,256
18May 17, 2021 19:345,3531,383,447,35416,124,0001,007,0002,265,088
19May 17, 2021 19:345,3531,328,499,28214,275,0002,855,0002,260,992
20May 17, 2021 19:345,353707,615,24417,131,00002,527,232
21May 17, 2021 19:345,355937,287,92817,135,00002,269,184
22May 17, 2021 19:345,3561,730,962,86915,236,0001,904,0002,265,088
23May 17, 2021 19:345,357760,012,08317,143,00002,265,088
24May 17, 2021 19:345,358711,287,12817,144,00002,265,088
25May 17, 2021 19:335,3582,728,782,80316,195,000952,0002,265,088
26May 17, 2021 19:345,3581,153,119,82714,119,0003,025,0002,523,136
27May 17, 2021 19:345,3592,569,097,67916,141,0001,008,0002,265,088
28May 17, 2021 19:345,535134,602,55617,713,00102,277,376
29May 17, 2021 19:335,539863,252,07117,726,26802,277,376
30May 17, 2021 19:335,5431,741,000,02917,738,72102,281,472
31May 17, 2021 19:345,5432,930,382,95917,738,78102,281,472
32May 17, 2021 19:345,5501,299,372,01817,759,43102,277,376
33May 17, 2021 19:345,553398,579,99417,768,43302,277,376
34May 17, 2021 19:345,5532,149,619,49117,768,30002,281,472
35May 17, 2021 19:335,556283,653,07817,777,95002,281,472
36May 17, 2021 19:345,558919,351,13817,785,10802,277,376