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 listApr 17, 2024 15:49Joad NacerJoad NacerScore: 5,319Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 15:495,27642,487,68114,898,0001,986,0002,269,184
2Apr 17, 2024 15:495,28243,815,42814,915,0001,988,0002,289,664
3Apr 17, 2024 15:505,28342,586,34714,918,0001,989,0002,289,664
4Apr 17, 2024 15:505,28942,322,25814,933,0001,991,0002,273,280
5Apr 17, 2024 15:505,29036,392,33714,936,0001,991,0002,289,664
6Apr 17, 2024 15:505,29244,892,41114,942,0001,992,0002,289,664
7Apr 17, 2024 15:505,29534,874,66814,952,0001,993,0002,285,568
8Apr 17, 2024 15:505,29541,472,28214,950,0001,993,0002,383,872
9Apr 17, 2024 15:495,30047,791,79614,965,0001,995,0002,289,664
10Apr 17, 2024 15:495,30841,101,59714,989,0001,998,0002,273,280
11Apr 17, 2024 15:495,31137,295,11214,997,0001,999,0002,273,280
12Apr 17, 2024 15:495,31740,039,88215,013,0002,001,0002,265,088
13Apr 17, 2024 15:505,31942,907,23015,018,0002,002,0002,265,088
14Apr 17, 2024 15:505,32143,258,60215,023,0002,003,0002,289,664
15Apr 17, 2024 15:495,32540,980,55215,037,0002,004,0002,269,184
16Apr 17, 2024 15:505,35040,490,76015,107,0002,014,0002,265,088
17Apr 17, 2024 15:495,35837,808,42116,139,0001,008,0002,523,136
18Apr 17, 2024 15:495,36246,738,11215,140,0002,018,0002,355,200
19Apr 17, 2024 15:495,48388,845,97517,544,19902,306,048
20Apr 17, 2024 15:495,52381,689,81717,672,86902,301,952
21Apr 17, 2024 15:495,52781,134,24817,685,63902,297,856
22Apr 17, 2024 15:505,530102,718,59517,694,70302,306,048
23Apr 17, 2024 15:505,53685,263,68217,714,74402,289,664
24Apr 17, 2024 15:505,54490,713,52617,741,02802,301,952