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 listMay 17, 2021 15:09Andrey TsvetkovAndrey TsvetkovScore: 6,210Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 15:106,11042,152,54018,523,0001,029,0002,523,136
2May 17, 2021 15:106,12244,129,00918,560,0001,031,0002,523,136
3May 17, 2021 15:106,12444,811,86018,566,0001,031,0002,519,040
4May 17, 2021 15:106,12440,162,27418,567,0001,031,0002,330,624
5May 17, 2021 15:106,12847,779,53718,577,0001,032,0002,326,528
6May 17, 2021 15:106,13149,948,97719,618,00002,523,136
7May 17, 2021 15:106,13245,155,69318,591,0001,032,0002,527,232
8May 17, 2021 15:106,13342,055,54718,592,0001,032,0002,510,848
9May 17, 2021 15:106,13749,622,35118,605,0001,033,0002,322,432
10May 17, 2021 15:106,13736,887,15718,606,0001,033,0002,326,528
11May 17, 2021 15:106,14351,904,62418,623,0001,034,0002,330,624
12May 17, 2021 15:106,14450,148,80518,626,0001,034,0002,330,624
13May 17, 2021 15:106,19591,780,73419,823,23902,228,224
14May 17, 2021 15:106,20146,781,53617,859,0001,984,0002,318,336
15May 17, 2021 15:106,20766,451,54619,861,56802,215,936
16May 17, 2021 15:106,21047,717,50417,884,0001,987,0002,326,528
17May 17, 2021 15:106,21246,245,44917,890,0001,987,0002,510,848
18May 17, 2021 15:106,21346,158,84917,893,0001,988,0002,330,624
19May 17, 2021 15:106,21349,490,52015,905,0003,976,0002,519,040
20May 17, 2021 15:106,21588,653,26919,887,36002,215,936
21May 17, 2021 15:106,21850,121,19619,896,00002,326,528
22May 17, 2021 15:106,23595,370,90619,953,51802,224,128
23May 17, 2021 15:106,24089,044,87519,968,23302,232,320
24May 17, 2021 15:106,24778,269,85919,989,67802,228,224
25May 17, 2021 15:096,26490,305,76620,046,34602,228,224
26May 17, 2021 15:106,265102,546,24220,047,63702,224,128
27May 17, 2021 15:106,27185,614,53420,068,09002,224,128
28May 17, 2021 15:096,27494,341,24920,075,66002,228,224
29May 17, 2021 15:096,31783,247,93720,214,17902,211,840
30May 17, 2021 15:106,35588,369,74620,334,53802,224,128