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 listJul 27, 2024 18:56HuynhHuynhScore: 5,631Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 18:565,58644,519,62416,882,000993,0002,514,944
2Jul 27, 2024 18:565,59940,457,03216,923,000995,0002,527,232
3Jul 27, 2024 18:565,61734,762,89216,977,000998,0002,428,928
4Jul 27, 2024 18:565,61840,903,62015,979,0001,997,0002,531,328
5Jul 27, 2024 18:565,62037,854,24716,984,000999,0002,269,184
6Jul 27, 2024 18:565,62945,483,47617,013,0001,000,0002,433,024
7Jul 27, 2024 18:565,63136,948,65916,016,0002,002,0002,453,504
8Jul 27, 2024 18:565,63539,578,79016,030,0002,003,0002,531,328
9Jul 27, 2024 18:565,64234,540,52516,049,0002,006,0002,269,184
10Jul 27, 2024 18:565,820100,525,41518,622,80802,187,264
11Jul 27, 2024 18:565,83797,124,68618,679,75102,179,072
12Jul 27, 2024 18:565,86084,007,10218,750,98802,183,168