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:27zielajzielajScore: 5,360Success
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:275,32638,250,08616,040,0001,002,0002,277,376
2Aug 4, 2024 21:275,32840,171,45715,043,0002,005,0002,277,376
3Aug 4, 2024 21:275,33835,132,31215,074,0002,009,0002,289,664
4Aug 4, 2024 21:275,34333,129,86615,088,0002,011,0002,289,664
5Aug 4, 2024 21:275,35543,197,96415,120,0002,016,0002,289,664
6Aug 4, 2024 21:275,35740,971,18315,125,0002,016,0002,281,472
7Aug 4, 2024 21:275,36046,667,06615,134,0002,017,0002,269,184
8Aug 4, 2024 21:275,37041,157,94815,163,0002,021,0002,273,280
9Aug 4, 2024 21:275,38846,251,35715,215,0002,028,0002,347,008
10Aug 4, 2024 21:275,58179,409,31417,859,41202,183,168
11Aug 4, 2024 21:275,60684,952,04817,940,13502,240,512
12Aug 4, 2024 21:275,61484,544,49917,966,29002,310,144