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 listJan 1, 2023 21:47Jack FrigaardJack FrigaardScore: 5,673Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:475,61743,419,48115,978,0001,997,0002,269,184
2Jan 1, 2023 21:475,61942,714,99015,984,0001,998,0002,285,568
3Jan 1, 2023 21:475,63141,418,96616,018,0002,002,0002,523,136
4Jan 1, 2023 21:475,63250,321,76716,019,0002,002,0002,285,568
5Jan 1, 2023 21:475,64541,217,84417,062,0001,003,0002,285,568
6Jan 1, 2023 21:475,66941,735,11717,134,0001,007,0002,285,568
7Jan 1, 2023 21:475,67342,635,53317,145,0001,008,0002,285,568
8Jan 1, 2023 21:475,68242,963,08216,161,0002,020,0002,269,184
9Jan 1, 2023 21:475,70142,176,40716,217,0002,027,0002,527,232
10Jan 1, 2023 21:475,92885,046,97318,969,04302,297,856
11Jan 1, 2023 21:476,00983,180,18919,228,05102,297,856
12Jan 1, 2023 21:476,26586,306,43820,046,70702,179,072