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 22, 2024 11:10matsuoka-601matsuoka-601Score: 5,520Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:105,49038,796,66316,535,0001,033,0002,289,664
2Jan 22, 2024 11:105,50049,212,90416,564,0001,035,0002,289,664
3Jan 22, 2024 11:105,50033,409,53816,564,0001,035,0002,277,376
4Jan 22, 2024 11:105,50548,773,87516,581,0001,036,0002,289,664
5Jan 22, 2024 11:105,51045,736,20516,594,0001,037,0002,289,664
6Jan 22, 2024 11:105,51043,637,07516,595,0001,037,0002,519,040
7Jan 22, 2024 11:105,52044,352,24316,684,000981,0002,289,664
8Jan 22, 2024 11:105,52145,817,02616,628,0001,039,0002,289,664
9Jan 22, 2024 11:105,52741,751,95016,646,0001,040,0002,289,664
10Jan 22, 2024 11:105,63779,472,95618,037,82402,293,760
11Jan 22, 2024 11:105,64781,295,35418,071,92402,297,856
12Jan 22, 2024 11:105,65587,775,68518,096,18202,297,856