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 08:40BenBenScore: 4,562Success
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 08:404,53031,475,08613,462,0001,035,0002,527,232
2Jul 28, 2024 08:404,54338,454,19314,538,00002,265,088
3Jul 28, 2024 08:404,54834,346,94314,552,00002,265,088
4Jul 28, 2024 08:404,54932,509,02613,519,0001,039,0002,392,064
5Jul 28, 2024 08:404,55137,909,40113,524,0001,040,0002,379,776
6Jul 28, 2024 08:404,56032,996,10414,592,00002,269,184
7Jul 28, 2024 08:404,56237,018,11714,599,00002,265,088
8Jul 28, 2024 08:404,56835,884,27814,616,00002,392,064
9Jul 28, 2024 08:404,58434,206,21313,623,0001,047,0002,392,064
10Jul 28, 2024 08:404,78358,019,88615,305,62002,277,376
11Jul 28, 2024 08:404,81169,882,36615,394,66602,293,760
12Jul 28, 2024 08:404,82095,943,84215,425,52302,289,664