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 16, 2024 14:58AnSaAnSaScore: 5,585Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 14:585,51948,396,52617,661,00002,281,472
2Jun 16, 2024 14:585,57035,547,92015,844,0001,980,0002,281,472
3Jun 16, 2024 14:585,57634,488,66614,869,0002,973,0002,281,472
4Jun 16, 2024 14:585,57948,378,57515,871,0001,983,0002,281,472
5Jun 16, 2024 14:585,58244,841,72315,878,0001,984,0002,273,280
6Jun 16, 2024 14:585,58339,198,13117,867,00002,281,472
7Jun 16, 2024 14:585,58541,643,92017,873,00002,277,376
8Jun 16, 2024 14:585,58749,971,23015,891,0001,986,0002,281,472
9Jun 16, 2024 14:585,59042,413,21216,896,000993,0002,277,376
10Jun 16, 2024 14:585,869114,804,62218,781,22002,301,952
11Jun 16, 2024 14:585,87385,666,12418,792,15002,314,240
12Jun 16, 2024 14:585,90095,858,55218,878,86002,191,360