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 listJan 19, 2024 08:28AnSaAnSaScore: 5,608Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 08:285,57947,313,12815,871,0001,983,0002,363,392
2Jan 19, 2024 08:285,58644,778,58316,883,000993,0002,371,584
3Jan 19, 2024 08:285,58650,169,98815,890,0001,986,0002,555,904
4Jan 19, 2024 08:285,58845,805,65715,895,0001,986,0002,371,584
5Jan 19, 2024 08:285,58848,760,59815,896,0001,987,0002,363,392
6Jan 19, 2024 08:285,60244,777,31215,934,0001,991,0002,457,600
7Jan 19, 2024 08:285,60842,973,75715,951,0001,993,0002,461,696
8Jan 19, 2024 08:285,61948,920,83815,984,0001,998,0002,457,600
9Jan 19, 2024 08:285,62048,429,16815,985,0001,998,0002,363,392
10Jan 19, 2024 08:285,76657,735,41918,451,07602,293,760
11Jan 19, 2024 08:285,78376,970,63918,504,86102,289,664
12Jan 19, 2024 08:285,80477,493,61918,572,73802,289,664