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 3, 2024 05:12MylesMylesScore: 4,452Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 05:124,42230,360,19512,129,0002,021,0002,281,472
2Aug 3, 2024 05:124,42433,998,60212,135,0002,022,0002,449,408
3Aug 3, 2024 05:124,43540,283,58212,165,0002,027,0002,281,472
4Aug 3, 2024 05:124,43536,605,05513,101,0001,091,0002,449,408
5Aug 3, 2024 05:124,43827,056,20112,174,0002,029,0002,453,504
6Aug 3, 2024 05:124,44232,472,16012,184,0002,030,0002,449,408
7Aug 3, 2024 05:124,45233,076,02112,212,0002,035,0002,445,312
8Aug 3, 2024 05:124,46129,920,10612,236,0002,039,0002,281,472
9Aug 3, 2024 05:124,46236,538,58713,258,0001,019,0002,449,408
10Aug 3, 2024 05:124,69080,355,50215,009,32802,211,840
11Aug 3, 2024 05:124,71190,569,68415,076,02502,199,552
12Aug 3, 2024 05:124,713101,289,97715,083,09202,260,992