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 13, 2024 18:21джулисджулис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 13, 2024 18:215,22133,335,56215,663,0001,044,0002,371,584
2Jun 13, 2024 18:215,26841,734,50516,857,00002,289,664
3Jun 13, 2024 18:215,27137,730,03916,868,00002,478,080
4Jun 13, 2024 18:215,27343,753,36215,880,000992,0002,293,760
5Jun 13, 2024 18:215,27333,376,11116,875,00002,293,760
6Jun 13, 2024 18:215,27340,379,78714,890,0001,985,0002,387,968
7Jun 13, 2024 18:215,27455,337,42315,885,000992,0002,367,488
8Jun 13, 2024 18:215,27739,551,30814,900,0001,986,0002,371,584
9Jun 13, 2024 18:215,28242,894,91914,913,0001,988,0002,293,760
10Jun 13, 2024 18:215,47085,755,17717,502,76602,240,512
11Jun 13, 2024 18:215,51585,588,00017,647,02702,252,800
12Jun 13, 2024 18:215,54075,998,25417,727,51202,244,608