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 11:39AnSaAnSaScore: 5,588Success
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 11:395,53745,643,89516,676,0001,042,0002,281,472
2Jun 9, 2024 11:395,54033,522,80217,729,00002,281,472
3Jun 9, 2024 11:395,57035,729,94617,823,00002,281,472
4Jun 9, 2024 11:395,57341,273,81315,852,0001,981,0002,281,472
5Jun 9, 2024 11:395,57943,659,46215,870,0001,983,0002,281,472
6Jun 9, 2024 11:395,58645,557,52416,883,000993,0002,281,472
7Jun 9, 2024 11:395,58848,552,15015,895,0001,986,0002,281,472
8Jun 9, 2024 11:395,59941,652,56014,931,0002,986,0002,281,472
9Jun 9, 2024 11:395,60240,016,74015,935,0001,991,0002,289,664
10Jun 9, 2024 11:395,83092,913,62118,656,38902,306,048
11Jun 9, 2024 11:395,84482,064,35318,700,89802,179,072
12Jun 9, 2024 11:395,855106,385,18418,736,01302,301,952