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 16, 2021 22:37Andrey TsvetkovAndrey TsvetkovScore: 6,154Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 22:376,11640,317,64218,542,0001,030,0002,514,944
2May 16, 2021 09:066,12041,576,48418,554,0001,030,0002,326,528
3May 16, 2021 22:376,13047,083,49118,584,0001,032,0002,326,528
4May 16, 2021 09:066,13044,765,90718,585,0001,032,0002,322,432
5May 16, 2021 09:066,13041,541,31619,617,00002,330,624
6May 16, 2021 09:066,13046,757,02317,551,0002,064,0002,514,944
7May 16, 2021 09:066,14243,428,49217,585,0002,068,0002,330,624
8May 16, 2021 22:376,14246,968,31316,550,0003,103,0002,326,528
9May 16, 2021 22:376,14644,525,76717,596,0002,070,0002,330,624
10May 16, 2021 09:066,15349,133,40318,654,0001,036,0002,326,528
11May 16, 2021 09:066,15347,802,67418,653,0001,036,0002,314,240
12May 16, 2021 22:376,15348,448,63418,653,0001,036,0002,326,528
13May 16, 2021 22:376,15447,155,28917,621,0002,073,0002,326,528
14May 16, 2021 09:066,18684,630,61419,796,67802,224,128
15May 16, 2021 09:066,20083,437,89319,840,58502,220,032
16May 16, 2021 22:376,20874,340,89819,864,34902,228,224
17May 16, 2021 22:376,20847,118,51117,881,0001,986,0002,330,624
18May 16, 2021 22:376,20940,592,61118,875,000993,0002,519,040
19May 16, 2021 09:066,20950,272,09716,890,0002,980,0002,330,624
20May 16, 2021 22:376,21046,112,08117,885,0001,987,0002,523,136
21May 16, 2021 22:376,21086,703,22919,872,72402,232,320
22May 16, 2021 09:066,21044,473,20817,885,0001,987,0002,506,752
23May 16, 2021 22:376,25785,005,31720,021,34302,215,936
24May 16, 2021 09:066,275103,507,54020,081,35802,224,128