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 20:57джулисджулисScore: 5,274Success
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 20:575,25743,223,82114,844,0001,979,0002,293,760
2Jun 9, 2024 20:575,26840,607,45714,873,0001,983,0002,293,760
3Jun 9, 2024 20:575,26942,791,91614,878,0001,983,0002,293,760
4Jun 9, 2024 20:575,27146,891,51215,876,000992,0002,371,584
5Jun 9, 2024 20:575,27346,565,53915,881,000992,0002,293,760
6Jun 9, 2024 20:575,27435,782,05614,892,0001,985,0002,371,584
7Jun 9, 2024 20:575,27440,870,77414,893,0001,985,0002,293,760
8Jun 9, 2024 20:575,27745,972,88816,885,00002,293,760
9Jun 9, 2024 20:575,28143,111,95215,906,000994,0002,367,488
10Jun 9, 2024 20:575,51782,534,42017,654,94502,252,800
11Jun 9, 2024 20:575,56386,075,81017,801,56902,256,896
12Jun 9, 2024 20:575,61299,673,57217,958,19502,248,704