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 listAug 4, 2024 21:34zielajzielajScore: 4,810Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 21:344,77741,336,09713,248,0002,038,0002,289,664
2Aug 4, 2024 21:354,77742,617,62613,248,0002,038,0002,273,280
3Aug 4, 2024 21:354,77730,789,30013,247,0002,038,0002,289,664
4Aug 4, 2024 21:344,77934,782,86513,255,0002,039,0002,289,664
5Aug 4, 2024 21:344,78236,094,87713,263,0002,040,0002,289,664
6Aug 4, 2024 21:354,78737,613,76415,317,00002,269,184
7Aug 4, 2024 21:354,78841,518,81115,323,00002,289,664
8Aug 4, 2024 21:354,79132,959,76815,330,00002,285,568
9Aug 4, 2024 21:344,79236,520,30014,312,0001,022,0002,289,664
10Aug 4, 2024 21:344,79231,444,34614,312,0001,022,0002,285,568
11Aug 4, 2024 21:354,79744,914,03413,305,0002,046,0002,269,184
12Aug 4, 2024 21:354,80736,238,13214,357,0001,025,0002,289,664
13Aug 4, 2024 21:344,81038,748,74513,340,0002,052,0002,289,664
14Aug 4, 2024 21:354,81332,592,91313,348,0002,053,0002,273,280
15Aug 4, 2024 21:344,81830,418,76114,389,0001,027,0002,273,280
16Aug 4, 2024 21:354,82637,896,31114,413,0001,029,0002,273,280
17Aug 4, 2024 21:344,83334,454,69513,405,0002,062,0002,281,472
18Aug 4, 2024 21:344,83333,368,60613,403,0002,062,0002,281,472
19Aug 4, 2024 21:345,02178,872,65116,066,70602,174,976
20Aug 4, 2024 21:355,07069,468,10716,223,01002,289,664
21Aug 4, 2024 21:345,07092,114,98716,224,05502,183,168
22Aug 4, 2024 21:345,08180,637,51216,260,55602,306,048
23Aug 4, 2024 21:355,083104,842,21116,265,42002,179,072
24Aug 4, 2024 21:355,08577,951,63816,271,43502,252,800