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 9, 2024 19:57джулисджулисScore: 5,336Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:575,29343,406,13814,944,0001,992,0002,363,392
2Jun 9, 2024 19:575,29544,295,55915,949,000996,0002,293,760
3Jun 9, 2024 19:575,30137,590,50515,966,000997,0002,293,760
4Jun 9, 2024 19:575,30238,448,59115,969,000998,0002,293,760
5Jun 9, 2024 19:575,30541,051,95614,980,0001,997,0002,293,760
6Jun 9, 2024 19:575,31351,259,69015,003,0002,000,0002,375,680
7Jun 9, 2024 19:575,33647,146,05017,074,00002,363,392
8Jun 9, 2024 19:575,33748,988,29715,070,0002,009,0002,293,760
9Jun 9, 2024 19:575,34143,282,52216,086,0001,005,0002,289,664
10Jun 9, 2024 19:575,55061,009,90217,760,87302,248,704
11Jun 9, 2024 19:575,64460,780,78718,060,40502,248,704
12Jun 9, 2024 19:575,69667,455,85818,226,67802,260,992