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 15, 2021 20:38Andrey TsvetkovAndrey TsvetkovScore: 6,156Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 20:396,11542,013,42718,538,0001,029,0002,326,528
2May 15, 2021 20:396,11841,453,48217,518,0002,060,0002,527,232
3May 15, 2021 20:396,12238,101,35319,589,00002,326,528
4May 15, 2021 20:396,12339,668,14719,594,00002,326,528
5May 15, 2021 20:386,12842,324,50319,608,00002,330,624
6May 15, 2021 20:386,12850,760,33517,544,0002,064,0002,326,528
7May 15, 2021 20:386,13444,950,20517,563,0002,066,0002,531,328
8May 15, 2021 20:386,13950,770,25918,612,0001,034,0002,318,336
9May 15, 2021 20:396,14249,672,71117,585,0002,068,0002,347,008
10May 15, 2021 20:386,14339,019,72918,624,0001,034,0002,531,328
11May 15, 2021 20:396,14334,811,25117,589,0002,069,0002,527,232
12May 15, 2021 20:386,14644,941,70217,598,0002,070,0002,523,136
13May 15, 2021 20:386,15645,442,08219,699,00002,326,528
14May 15, 2021 20:396,19982,056,62819,837,79802,228,224
15May 15, 2021 20:386,199105,563,02219,838,39302,232,320
16May 15, 2021 20:396,20047,492,18917,857,0001,984,0002,527,232
17May 15, 2021 20:396,20136,434,73216,868,0002,976,0002,527,232
18May 15, 2021 20:386,20744,083,07916,883,0002,979,0002,330,624
19May 15, 2021 20:386,21339,481,36617,895,0001,988,0002,531,328
20May 15, 2021 20:396,21438,996,96116,903,0002,983,0002,531,328
21May 15, 2021 20:396,22688,311,86519,922,24402,240,512
22May 15, 2021 20:386,24099,880,00219,966,86002,236,416
23May 15, 2021 20:396,26476,046,79620,044,24002,232,320
24May 15, 2021 20:386,30877,134,76620,184,67202,236,416