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 29, 2024 20:09AnSaAnSaScore: 5,029Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2024 20:094,97434,955,14613,928,0001,989,0002,289,664
2Jun 29, 2024 20:094,98633,504,01913,962,0001,994,0002,289,664
3Jun 29, 2024 20:094,98841,198,15613,968,0001,995,0002,289,664
4Jun 29, 2024 20:094,99537,146,18913,986,0001,998,0002,289,664
5Jun 29, 2024 20:095,00437,138,62415,014,0001,000,0002,265,088
6Jun 29, 2024 20:095,02140,232,41414,060,0002,008,0002,351,104
7Jun 29, 2024 20:095,02933,279,56114,081,0002,011,0002,523,136
8Jun 29, 2024 20:095,03139,883,50315,094,0001,006,0002,289,664
9Jun 29, 2024 20:095,05936,941,07614,165,0002,023,0002,269,184
10Jun 29, 2024 20:095,23984,494,38516,766,18202,281,472
11Jun 29, 2024 20:095,24763,172,98616,790,38202,293,760
12Jun 29, 2024 20:095,26492,413,29616,843,26902,293,760