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 15:03AnSaAnSaScore: 5,602Success
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 15:035,58244,516,31716,869,000992,0002,273,280
2Jun 9, 2024 15:035,58736,310,40814,899,0002,979,0002,281,472
3Jun 9, 2024 15:035,58933,503,27616,891,000993,0002,281,472
4Jun 9, 2024 15:035,59643,694,17315,918,0001,989,0002,281,472
5Jun 9, 2024 15:035,59836,539,59214,928,0002,985,0002,269,184
6Jun 9, 2024 15:035,60139,779,78514,937,0002,987,0002,281,472
7Jun 9, 2024 15:035,60234,785,44914,939,0002,987,0002,281,472
8Jun 9, 2024 15:035,60945,414,10216,952,000997,0002,281,472
9Jun 9, 2024 15:035,61747,399,16615,977,0001,997,0002,281,472
10Jun 9, 2024 15:035,85691,614,61618,740,74302,183,168
11Jun 9, 2024 15:035,87187,544,08618,787,16302,306,048
12Jun 9, 2024 15:035,886105,710,24718,834,62702,306,048