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 listJul 30, 2024 04:07BenBenScore: 5,284Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 04:075,26644,321,11315,859,000991,0002,265,088
2Jul 30, 2024 04:075,26738,136,31615,862,000991,0002,265,088
3Jul 30, 2024 04:075,27540,247,80215,887,000992,0002,387,968
4Jul 30, 2024 04:075,27640,330,10214,897,0001,986,0002,265,088
5Jul 30, 2024 04:075,27732,663,03516,887,00002,387,968
6Jul 30, 2024 04:075,27843,252,21015,895,000993,0002,383,872
7Jul 30, 2024 04:075,28442,098,86214,921,0001,989,0002,392,064
8Jul 30, 2024 04:075,29537,386,10815,947,000996,0002,527,232
9Jul 30, 2024 04:075,29933,493,59815,960,000997,0002,396,160
10Jul 30, 2024 04:075,46082,005,73417,472,81002,293,760
11Jul 30, 2024 04:075,48478,968,24817,548,09102,277,376
12Jul 30, 2024 04:075,50780,672,02317,622,31502,289,664