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 listOct 30, 2023 22:46goon-goon-Score: 5,326Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2023 22:465,28840,267,07314,932,0001,990,0002,265,088
2Oct 30, 2023 22:465,30045,666,02614,966,0001,995,0002,265,088
3Oct 30, 2023 22:465,31543,724,24816,007,0001,000,0002,396,160
4Oct 30, 2023 22:465,31543,054,53215,007,0002,000,0002,265,088
5Oct 30, 2023 22:465,31742,878,54516,014,0001,000,0002,265,088
6Oct 30, 2023 22:465,32545,091,97216,038,0001,002,0002,387,968
7Oct 30, 2023 22:465,32643,151,08016,042,0001,002,0002,269,184
8Oct 30, 2023 22:465,33443,835,07115,061,0002,008,0002,383,872
9Oct 30, 2023 22:465,34934,518,94816,111,0001,006,0002,379,776
10Oct 30, 2023 22:465,64074,271,59718,048,39102,281,472
11Oct 30, 2023 22:465,66564,961,55318,128,07002,293,760
12Oct 30, 2023 22:465,67079,936,62618,144,97502,281,472