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 6, 2024 23:46zielajzielajScore: 4,783Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 23:464,75338,781,69713,182,0002,028,0002,281,472
2Aug 6, 2024 23:464,75830,975,54013,196,0002,030,0002,273,280
3Aug 6, 2024 23:464,76540,844,72014,231,0001,016,0002,273,280
4Aug 6, 2024 23:464,76531,945,86313,214,0002,033,0002,523,136
5Aug 6, 2024 23:464,77137,561,02214,251,0001,017,0002,289,664
6Aug 6, 2024 23:464,77533,065,49613,243,0002,037,0002,289,664
7Aug 6, 2024 23:464,78346,027,56813,266,0002,040,0002,289,664
8Aug 6, 2024 23:464,78536,319,96013,270,0002,041,0002,277,376
9Aug 6, 2024 23:464,79138,578,37714,308,0001,022,0002,269,184
10Aug 6, 2024 23:465,00588,961,91716,014,88502,301,952
11Aug 6, 2024 23:465,02059,587,48916,062,71402,306,048
12Aug 6, 2024 23:465,02678,656,26916,081,81702,314,240