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 listSep 4, 2021 21:47Andrey TsvetkovAndrey TsvetkovScore: 5,635Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 21:475,58741,726,43915,893,0001,986,0002,433,024
2Sep 4, 2021 21:465,59544,882,78317,905,00002,433,024
3Sep 4, 2021 21:465,59551,068,55615,915,0001,989,0002,437,120
4Sep 4, 2021 21:475,59640,276,21516,914,000994,0002,342,912
5Sep 4, 2021 21:465,59833,710,96716,859,0001,053,0002,428,928
6Sep 4, 2021 21:475,59942,443,03417,918,00002,437,120
7Sep 4, 2021 21:475,60448,305,69215,942,0001,992,0002,342,912
8Sep 4, 2021 21:475,60439,484,47816,938,000996,0002,437,120
9Sep 4, 2021 21:465,60734,011,48116,946,000996,0002,342,912
10Sep 4, 2021 21:475,61143,025,38916,959,000997,0002,289,664
11Sep 4, 2021 21:475,61248,898,75715,963,0001,995,0002,437,120
12Sep 4, 2021 21:465,61735,142,42316,977,000998,0002,347,008
13Sep 4, 2021 21:475,61944,963,74515,983,0001,997,0002,433,024
14Sep 4, 2021 21:475,62245,190,64415,991,0001,998,0002,342,912
15Sep 4, 2021 21:475,62348,837,81116,994,000999,0002,433,024
16Sep 4, 2021 21:465,62786,904,71518,005,31702,273,280
17Sep 4, 2021 21:475,62843,742,05717,008,0001,000,0002,531,328
18Sep 4, 2021 21:475,63081,218,12718,014,48302,269,184
19Sep 4, 2021 21:475,63542,065,68817,032,0001,001,0002,342,912
20Sep 4, 2021 21:465,63549,516,22416,028,0002,003,0002,293,760
21Sep 4, 2021 21:475,63595,411,32318,031,20302,273,280
22Sep 4, 2021 21:475,63785,047,19618,039,83502,277,376
23Sep 4, 2021 21:475,63742,246,44116,035,0002,004,0002,433,024
24Sep 4, 2021 21:475,63947,386,88217,043,0001,002,0002,342,912
25Sep 4, 2021 21:465,64643,881,99217,065,0001,003,0002,347,008
26Sep 4, 2021 21:465,65235,634,07817,083,0001,004,0002,334,720
27Sep 4, 2021 21:475,65445,544,54317,087,0001,005,0002,342,912
28Sep 4, 2021 21:475,65538,241,63017,092,0001,005,0002,428,928
29Sep 4, 2021 21:475,66632,383,84517,125,0001,007,0002,428,928
30Sep 4, 2021 21:465,67734,069,54116,148,0002,018,0002,338,816
31Sep 4, 2021 21:475,67935,284,36916,154,0002,019,0002,441,216
32Sep 4, 2021 21:475,68279,907,49018,183,12802,265,088
33Sep 4, 2021 21:465,68264,500,85918,181,86202,273,280
34Sep 4, 2021 21:465,76095,772,27218,432,16202,265,088
35Sep 4, 2021 21:475,77876,957,39818,489,69502,265,088
36Sep 4, 2021 21:475,80588,167,17718,576,90002,260,992