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 listJun 20, 2021 18:55Andrey TsvetkovAndrey TsvetkovScore: 5,700Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 18:555,65141,253,40815,070,0003,014,0002,334,720
2Jun 20, 2021 18:555,66943,907,08915,119,0003,023,0002,334,720
3Jun 20, 2021 18:555,66946,979,26516,125,0002,015,0002,326,528
4Jun 20, 2021 18:555,67247,325,42516,135,0002,016,0002,527,232
5Jun 20, 2021 18:555,67541,323,66715,134,0003,026,0002,531,328
6Jun 20, 2021 18:555,67645,012,00416,145,0002,018,0002,531,328
7Jun 20, 2021 18:555,68237,731,37315,153,0003,030,0002,523,136
8Jun 20, 2021 18:555,68339,687,09316,166,0002,020,0002,527,232
9Jun 20, 2021 18:555,68539,952,17715,161,0003,032,0002,334,720
10Jun 20, 2021 18:555,69044,132,92416,184,0002,023,0002,334,720
11Jun 20, 2021 18:555,69236,723,70516,190,0002,023,0002,519,040
12Jun 20, 2021 18:555,69344,231,71516,195,0002,024,0002,531,328
13Jun 20, 2021 18:555,70038,468,07915,201,0003,040,0002,527,232
14Jun 20, 2021 18:555,70537,395,64015,214,0003,042,0002,334,720
15Jun 20, 2021 18:555,71639,313,71116,258,0002,032,0002,334,720
16Jun 20, 2021 18:555,71649,600,30516,259,0002,032,0002,334,720
17Jun 20, 2021 18:555,71839,984,26716,265,0002,033,0002,334,720
18Jun 20, 2021 18:555,71976,729,18118,299,39502,232,320
19Jun 20, 2021 18:555,73784,467,46618,358,66602,232,320
20Jun 20, 2021 18:555,74140,867,31315,310,0003,062,0002,527,232
21Jun 20, 2021 18:555,75171,875,16218,402,01502,228,224
22Jun 20, 2021 18:555,78262,643,69818,501,88102,240,512
23Jun 20, 2021 18:555,85680,280,17818,740,18602,236,416
24Jun 20, 2021 18:555,92498,500,88518,956,15802,224,128