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 listNov 5, 2024 23:25Evgen BodunovEvgen BodunovScore: 5,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 23:325,53750,489,14016,675,0001,042,0002,510,848
2Nov 5, 2024 23:325,53850,339,81417,721,00002,289,664
3Nov 5, 2024 23:325,54048,181,19917,729,00002,289,664
4Nov 5, 2024 23:325,57144,718,27616,838,000990,0002,289,664
5Nov 5, 2024 23:325,57845,114,09515,865,0001,983,0002,289,664
6Nov 5, 2024 23:325,58152,532,75815,874,0001,984,0002,289,664
7Nov 5, 2024 23:255,58448,268,13815,884,0001,985,0002,289,664
8Nov 5, 2024 23:255,58444,619,78715,885,0001,985,0002,334,720
9Nov 5, 2024 23:325,58448,964,96616,876,000992,0002,289,664
10Nov 5, 2024 23:255,58644,226,53916,883,000993,0002,519,040
11Nov 5, 2024 23:325,58649,108,35515,888,0001,986,0002,351,104
12Nov 5, 2024 23:325,58746,494,65516,885,000993,0002,289,664