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 24, 2021 23:27Egor SergeevEgor SergeevScore: 5,685Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 23:275,61249,080,12715,963,0001,995,0002,277,376
2May 24, 2021 23:275,62443,889,53514,997,0002,999,0002,277,376
3May 24, 2021 23:275,63233,997,96416,021,0002,002,0002,277,376
4May 24, 2021 23:275,63646,190,31716,032,0002,004,0002,269,184
5May 24, 2021 23:275,66845,522,31615,116,0003,023,0002,277,376
6May 24, 2021 23:275,67942,237,21116,153,0002,019,0002,277,376
7May 24, 2021 23:275,68542,694,99617,183,0001,010,0002,269,184
8May 24, 2021 23:275,68735,240,49016,176,0002,022,0002,273,280
9May 24, 2021 23:275,71443,942,71516,253,0002,031,0002,277,376
10May 24, 2021 23:275,84843,700,93318,714,45502,297,856
11May 24, 2021 23:275,87452,031,79818,797,47202,281,472
12May 24, 2021 23:275,91285,616,06518,917,62702,170,880