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 8, 2021 20:08evgenikwtevgenikwtScore: 5,303Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 20:085,27344,932,92816,874,00002,379,776
2Jun 8, 2021 20:085,27441,993,12515,884,000992,0002,387,968
3Jun 8, 2021 20:085,27439,650,10016,876,00002,392,064
4Jun 8, 2021 20:085,27640,178,69215,890,000993,0002,387,968
5Jun 8, 2021 20:085,28946,481,91014,933,0001,991,0002,265,088
6Jun 8, 2021 20:085,29145,616,08214,940,0001,992,0002,387,968
7Jun 8, 2021 20:085,30348,598,31514,974,0001,996,0002,265,088
8Jun 8, 2021 20:085,32335,360,06315,030,0002,004,0002,527,232
9Jun 8, 2021 20:085,33634,039,96616,071,0001,004,0002,265,088
10Jun 8, 2021 20:085,50285,953,59717,604,97602,281,472
11Jun 8, 2021 20:085,697103,217,27718,228,91202,281,472
12Jun 8, 2021 20:085,76476,767,01618,444,51702,281,472