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 2, 2022 07:54Robert BurkeRobert BurkeScore: 4,458Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2022 07:544,43036,162,77512,152,0002,025,0002,453,504
2Aug 2, 2022 07:544,43232,644,72812,156,0002,026,0002,281,472
3Aug 2, 2022 07:544,43433,051,16812,162,0002,027,0002,281,472
4Aug 2, 2022 07:544,43835,044,93012,174,0002,029,0002,449,408
5Aug 2, 2022 07:544,44127,218,43912,180,0002,030,0002,445,312
6Aug 2, 2022 07:544,44528,535,04212,192,0002,032,0002,273,280
7Aug 2, 2022 07:544,44827,733,45712,201,0002,033,0002,281,472
8Aug 2, 2022 07:544,44838,136,02812,200,0002,033,0002,445,312
9Aug 2, 2022 07:544,45030,898,95712,206,0002,034,0002,449,408
10Aug 2, 2022 07:544,45130,638,51912,208,0002,034,0002,449,408
11Aug 2, 2022 07:544,45135,530,11913,225,0001,017,0002,449,408
12Aug 2, 2022 07:544,45634,280,77012,223,0002,037,0002,281,472
13Aug 2, 2022 07:544,45832,867,19312,228,0002,038,0002,281,472
14Aug 2, 2022 07:544,46135,444,61412,235,0002,039,0002,281,472
15Aug 2, 2022 07:544,46129,832,56613,257,0001,019,0002,277,376
16Aug 2, 2022 07:544,46629,929,43813,272,0001,020,0002,281,472
17Aug 2, 2022 07:544,47132,757,23512,264,0002,044,0002,281,472
18Aug 2, 2022 07:544,49345,442,36813,351,0001,027,0002,445,312
19Aug 2, 2022 07:544,66180,738,13514,916,45202,207,744
20Aug 2, 2022 07:544,68298,098,48014,982,50502,211,840
21Aug 2, 2022 07:544,68564,800,71614,990,77502,199,552
22Aug 2, 2022 07:544,73377,896,19015,146,93402,199,552
23Aug 2, 2022 07:544,74575,222,36915,184,37102,207,744
24Aug 2, 2022 07:544,74871,107,23815,194,73002,199,552