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 06:35AnSaAnSaScore: 5,918Success
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 06:355,89448,734,35517,869,000992,0002,281,472
2Jun 9, 2024 06:355,89745,281,54516,885,0001,986,0002,265,088
3Jun 9, 2024 06:355,90242,794,15816,899,0001,988,0002,273,280
4Jun 9, 2024 06:355,90350,282,19614,912,0003,976,0002,281,472
5Jun 9, 2024 06:355,90743,608,20916,913,0001,989,0002,269,184
6Jun 9, 2024 06:355,91641,974,39315,941,0002,989,0002,281,472
7Jun 9, 2024 06:355,91841,067,44816,946,0001,993,0002,281,472
8Jun 9, 2024 06:355,94346,886,09417,016,0002,001,0002,289,664
9Jun 9, 2024 06:355,96945,012,25616,085,0003,016,0002,359,296
10Jun 9, 2024 06:356,177102,499,36819,765,68202,306,048
11Jun 9, 2024 06:356,18793,368,37419,797,45702,301,952
12Jun 9, 2024 06:356,22199,107,16519,908,21302,179,072