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 13, 2021 20:33alex3dalex3dScore: 5,523Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 20:335,48640,076,81415,489,0002,065,0002,260,992
2May 13, 2021 20:335,50535,788,77717,615,00002,473,984
3May 13, 2021 20:335,50746,369,41316,587,0001,036,0002,519,040
4May 13, 2021 20:335,50836,336,58015,554,0002,073,0002,523,136
5May 13, 2021 20:335,51336,440,01916,606,0001,037,0002,392,064
6May 13, 2021 20:335,51436,303,45015,569,0002,075,0002,519,040
7May 13, 2021 20:335,51645,471,20715,576,0002,076,0002,519,040
8May 13, 2021 20:335,52343,836,34916,635,0001,039,0002,387,968
9May 13, 2021 20:335,58635,438,12715,888,0001,986,0002,396,160
10May 13, 2021 20:336,20378,165,55619,849,36102,277,376
11May 13, 2021 20:336,21882,116,58919,898,18002,281,472
12May 13, 2021 20:336,23190,519,18819,939,81302,273,280
13May 13, 2021 20:336,25890,228,50320,026,95602,285,568
14May 13, 2021 20:336,25982,516,65720,029,81702,285,568
15May 13, 2021 20:336,26485,476,40720,043,22902,281,472