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 21, 2023 16:25gchebanovgchebanovScore: 5,373Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2023 16:255,32142,579,79515,025,0002,003,0002,387,968
2Jul 21, 2023 16:255,32341,151,03615,030,0002,004,0002,519,040
3Jul 21, 2023 16:255,33234,982,62516,059,0001,003,0002,265,088
4Jul 21, 2023 16:255,33445,697,75915,061,0002,008,0002,265,088
5Jul 21, 2023 16:255,33844,039,28116,079,0001,004,0002,265,088
6Jul 21, 2023 16:255,34340,244,01015,085,0002,011,0002,510,848
7Jul 21, 2023 16:255,37333,254,40116,182,0001,011,0002,265,088
8Jul 21, 2023 16:255,37442,936,96716,186,0001,011,0002,269,184
9Jul 21, 2023 16:255,37744,241,95416,193,0001,012,0002,387,968
10Jul 21, 2023 16:255,49790,252,98417,589,46302,273,280
11Jul 21, 2023 16:255,52184,896,39517,667,82102,273,280
12Jul 21, 2023 16:255,54689,305,41417,747,44602,285,568