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 28, 2024 07:41BenBenScore: 5,352Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 07:415,30432,839,60414,977,0001,996,0002,387,968
2Jul 28, 2024 07:415,32541,428,87915,035,0002,004,0002,392,064
3Jul 28, 2024 07:415,32643,923,56215,039,0002,005,0002,269,184
4Jul 28, 2024 07:415,32842,803,93116,046,0001,002,0002,265,088
5Jul 28, 2024 07:415,34242,386,63216,089,0001,005,0002,379,776
6Jul 28, 2024 07:415,34743,238,53115,098,0002,013,0002,387,968
7Jul 28, 2024 07:415,35238,192,60116,120,0001,007,0002,265,088
8Jul 28, 2024 07:415,35349,030,22015,115,0002,015,0002,392,064
9Jul 28, 2024 07:415,38747,851,88015,211,0002,028,0002,265,088
10Jul 28, 2024 07:415,49985,737,68517,597,60702,285,568
11Jul 28, 2024 07:415,54184,790,44617,731,93702,281,472
12Jul 28, 2024 07:415,54594,228,27317,744,61702,281,472