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 16, 2021 10:12alex3dalex3dScore: 4,619Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 10:124,590236,024,00813,640,0001,049,0002,523,136
2May 16, 2021 10:124,5934,781,858,98414,697,00002,523,136
3May 16, 2021 10:124,5964,405,934,08514,708,00002,514,944
4May 16, 2021 10:124,5991,677,071,88414,717,00002,265,088
5May 16, 2021 10:124,6012,610,669,93713,672,0001,051,0002,445,312
6May 16, 2021 10:124,6013,709,738,10313,671,0001,051,0002,523,136
7May 16, 2021 10:124,6034,831,545,43913,676,0001,052,0002,519,040
8May 16, 2021 10:124,6032,285,994,76814,731,00002,519,040
9May 16, 2021 10:124,6044,538,229,60813,681,0001,052,0002,523,136
10May 16, 2021 10:124,6041,041,143,64813,680,0001,052,0002,519,040
11May 16, 2021 10:124,611881,527,28414,754,00002,514,944
12May 16, 2021 10:124,6131,519,234,79014,762,00002,523,136
13May 16, 2021 10:124,613996,147,85514,762,00002,523,136
14May 16, 2021 10:124,6143,839,322,47113,710,0001,054,0002,514,944
15May 16, 2021 10:124,6152,576,032,27813,713,0001,054,0002,523,136
16May 16, 2021 10:124,6154,275,680,99013,784,000984,0002,527,232
17May 16, 2021 10:124,6162,530,681,10813,716,0001,055,0002,441,216
18May 16, 2021 10:124,618282,409,79914,778,00002,514,944
19May 16, 2021 10:124,6191,273,162,57514,782,00002,514,944
20May 16, 2021 10:124,6231,904,439,78714,794,00002,523,136
21May 16, 2021 10:124,6232,449,691,58713,736,0001,056,0002,523,136
22May 16, 2021 10:124,6274,717,205,89113,748,0001,057,0002,523,136
23May 16, 2021 10:124,63547,540,98113,774,0001,059,0002,445,312
24May 16, 2021 10:124,6374,512,892,43213,778,0001,059,0002,519,040
25May 16, 2021 10:124,6381,529,435,12014,843,00002,523,136
26May 16, 2021 10:124,6382,688,721,98914,840,00002,523,136
27May 16, 2021 10:124,6393,483,345,34213,785,0001,060,0002,514,944
28May 16, 2021 10:124,780121,589,92315,295,29502,281,472
29May 16, 2021 10:124,7872,189,702,90515,317,36202,281,472
30May 16, 2021 10:124,7984,744,389,86215,352,97902,285,568
31May 16, 2021 10:124,8092,061,335,21515,389,25502,281,472
32May 16, 2021 10:124,8224,571,748,52315,431,67602,277,376
33May 16, 2021 10:124,8323,733,039,04815,463,23102,285,568
34May 16, 2021 10:124,8343,316,242,93615,467,54902,281,472
35May 16, 2021 10:124,8354,949,071,67515,472,67302,277,376
36May 16, 2021 10:124,8371,558,537,00915,477,17202,285,568