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 28, 2024 07:50BenBenScore: 4,961Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 07:504,88729,364,82614,595,0001,042,0002,396,160
2Jul 28, 2024 07:504,89044,531,16015,647,00002,392,064
3Jul 28, 2024 07:504,91949,267,66014,692,0001,049,0002,383,872
4Jul 28, 2024 07:504,95435,141,49913,873,0001,981,0002,269,184
5Jul 28, 2024 07:504,95836,181,97214,874,000991,0002,265,088
6Jul 28, 2024 07:504,95839,877,65413,884,0001,983,0002,387,968
7Jul 28, 2024 07:504,96141,924,13513,892,0001,984,0002,383,872
8Jul 28, 2024 07:504,96243,770,72513,894,0001,984,0002,265,088
9Jul 28, 2024 07:504,96737,734,07014,900,000993,0002,387,968
10Jul 28, 2024 07:505,16089,839,71916,512,53102,293,760
11Jul 28, 2024 07:505,16687,803,22316,531,08902,277,376
12Jul 28, 2024 07:505,16687,835,51616,532,30202,285,568