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 21, 2021 11:21Andrey TsvetkovAndrey TsvetkovScore: 5,705Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2021 11:265,65640,749,25115,083,0003,016,0002,527,232
2Jun 21, 2021 11:215,67641,117,60516,145,0002,018,0002,334,720
3Jun 21, 2021 11:215,67648,527,43315,135,0003,027,0002,523,136
4Jun 21, 2021 11:215,67842,994,25315,142,0003,028,0002,523,136
5Jun 21, 2021 11:215,68436,654,12316,168,0002,021,0002,527,232
6Jun 21, 2021 11:265,69142,502,47215,177,0003,035,0002,326,528
7Jun 21, 2021 11:265,69345,076,24217,204,0001,012,0002,527,232
8Jun 21, 2021 11:265,69542,579,36416,199,0002,024,0002,531,328
9Jun 21, 2021 11:265,69841,966,13215,196,0003,039,0002,326,528
10Jun 21, 2021 11:265,69944,693,61717,224,0001,013,0002,334,720
11Jun 21, 2021 11:215,70032,775,85316,213,0002,026,0002,527,232
12Jun 21, 2021 11:215,70035,326,05816,215,0002,026,0002,334,720
13Jun 21, 2021 11:215,70546,669,65215,214,0003,042,0002,523,136
14Jun 21, 2021 11:215,71840,020,68816,266,0002,033,0002,523,136
15Jun 21, 2021 11:265,72942,616,58715,278,0003,055,0002,363,392
16Jun 21, 2021 11:265,73238,538,19916,305,0002,038,0002,322,432
17Jun 21, 2021 11:265,74438,257,07616,340,0002,042,0002,363,392
18Jun 21, 2021 11:265,74681,558,61318,387,88202,232,320
19Jun 21, 2021 11:215,75538,413,33616,371,0002,046,0002,334,720
20Jun 21, 2021 11:215,76980,475,36418,461,03902,236,416
21Jun 21, 2021 11:215,77687,220,32118,484,75202,236,416
22Jun 21, 2021 11:215,80972,126,38518,590,34902,236,416
23Jun 21, 2021 11:265,82496,136,97518,637,65002,228,224
24Jun 21, 2021 11:265,84883,209,16918,713,96302,228,224