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 listJun 9, 2024 18:15matsuoka-601matsuoka-601Score: 4,724Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 18:154,68632,660,82612,997,0001,999,0002,404,352
2Jun 9, 2024 18:154,69538,261,10313,022,0002,003,0002,285,568
3Jun 9, 2024 18:154,69735,995,90913,026,0002,004,0002,285,568
4Jun 9, 2024 18:154,70938,560,65214,064,0001,004,0002,285,568
5Jun 9, 2024 18:154,71231,322,39513,068,0002,010,0002,404,352
6Jun 9, 2024 18:154,71830,071,80214,090,0001,006,0002,408,448
7Jun 9, 2024 18:154,72441,171,87814,110,0001,007,0002,285,568
8Jun 9, 2024 18:154,72531,749,42313,105,0002,016,0002,285,568
9Jun 9, 2024 18:154,73643,408,10613,135,0002,020,0002,285,568
10Jun 9, 2024 18:154,91685,016,72615,732,02502,301,952
11Jun 9, 2024 18:154,92883,530,05115,769,03402,179,072
12Jun 9, 2024 18:154,973100,509,62115,913,07902,301,952