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 22, 2021 22:56Andrey TsvetkovAndrey TsvetkovScore: 5,703Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2021 22:565,65242,955,86916,078,0002,009,0002,531,328
2Jun 22, 2021 22:565,65445,371,55315,079,0003,015,0002,334,720
3Jun 22, 2021 22:565,65538,026,03616,085,0002,010,0002,531,328
4Jun 22, 2021 22:565,65843,707,01115,087,0003,017,0002,514,944
5Jun 22, 2021 22:565,65941,487,82416,097,0002,012,0002,330,624
6Jun 22, 2021 22:565,66347,271,55316,109,0002,013,0002,531,328
7Jun 22, 2021 22:565,66339,731,92815,103,0003,020,0002,334,720
8Jun 22, 2021 22:565,67042,461,59216,129,0002,016,0002,334,720
9Jun 22, 2021 22:565,67441,761,14216,141,0002,017,0002,523,136
10Jun 22, 2021 22:565,67841,107,62315,141,0003,028,0002,523,136
11Jun 22, 2021 22:565,69638,212,29717,216,0001,012,0002,334,720
12Jun 22, 2021 22:565,70040,107,92016,213,0002,026,0002,523,136
13Jun 22, 2021 22:565,70338,241,83315,208,0003,041,0002,334,720
14Jun 22, 2021 22:565,70339,819,39915,207,0003,041,0002,334,720
15Jun 22, 2021 22:565,71436,153,88116,254,0002,031,0002,523,136
16Jun 22, 2021 22:565,72438,913,06717,300,0001,017,0002,531,328
17Jun 22, 2021 22:565,72938,056,66516,296,0002,037,0002,527,232
18Jun 22, 2021 22:565,72961,697,99218,332,83802,240,512
19Jun 22, 2021 22:565,73153,150,28418,339,01102,228,224
20Jun 22, 2021 22:565,74169,591,72318,372,35402,224,128
21Jun 22, 2021 22:565,74976,314,26318,395,79202,232,320
22Jun 22, 2021 22:565,77980,680,93318,493,16302,228,224
23Jun 22, 2021 22:565,78838,491,63417,492,0001,028,0002,527,232
24Jun 22, 2021 22:565,90783,150,87018,902,30102,236,416