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 listJan 2, 2023 16:26Hal FHal FScore: 4,880Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:224,80632,620,84014,355,0001,025,0002,289,664
2Jan 2, 2023 16:224,81530,821,04814,382,0001,027,0002,269,184
3Jan 2, 2023 16:224,82336,204,95815,435,00002,269,184
4Jan 2, 2023 16:224,82536,840,27015,439,00002,277,376
5Jan 2, 2023 16:224,83634,315,61714,445,0001,031,0002,289,664
6Jan 2, 2023 16:224,83836,706,37414,449,0001,032,0002,289,664
7Jan 2, 2023 16:224,85542,665,93014,501,0001,035,0002,269,184
8Jan 2, 2023 16:264,86131,065,48214,519,0001,037,0002,523,136
9Jan 2, 2023 16:224,86737,489,85814,537,0001,038,0002,265,088
10Jan 2, 2023 16:264,87732,162,99315,605,00002,383,872
11Jan 2, 2023 16:224,87848,696,16214,570,0001,040,0002,273,280
12Jan 2, 2023 16:264,87837,056,96914,571,0001,040,0002,277,376
13Jan 2, 2023 16:264,88033,028,87114,574,0001,041,0002,273,280
14Jan 2, 2023 16:264,88038,076,84914,575,0001,041,0002,289,664
15Jan 2, 2023 16:264,89146,647,38014,608,0001,043,0002,289,664
16Jan 2, 2023 16:264,89648,663,96514,622,0001,044,0002,523,136
17Jan 2, 2023 16:264,90135,106,90614,637,0001,045,0002,277,376
18Jan 2, 2023 16:264,90541,626,84214,650,0001,046,0002,289,664
19Jan 2, 2023 16:224,98564,136,87115,951,91702,297,856
20Jan 2, 2023 16:264,99583,890,94715,983,85902,301,952
21Jan 2, 2023 16:265,03795,336,81116,119,59902,293,760
22Jan 2, 2023 16:265,03969,737,56216,124,14202,297,856
23Jan 2, 2023 16:225,06154,831,82716,196,34802,289,664
24Jan 2, 2023 16:225,07194,222,86316,225,79602,256,896