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 listOct 20, 2024 10:05Sybrand AarnoutseSybrand AarnoutseScore: 5,624Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 20, 2024 10:055,51849,136,88716,620,0001,038,0002,293,760
2Oct 20, 2024 10:055,60645,154,06215,947,0001,993,0002,379,776
3Oct 20, 2024 10:055,61751,337,82315,978,0001,997,0002,293,760
4Oct 20, 2024 10:055,62245,305,01515,992,0001,999,0002,293,760
5Oct 20, 2024 10:055,62440,152,72416,997,000999,0002,379,776
6Oct 20, 2024 10:055,62943,920,05216,013,0002,001,0002,379,776
7Oct 20, 2024 10:055,62947,979,25816,013,0002,001,0002,293,760
8Oct 20, 2024 10:055,63839,281,40916,038,0002,004,0002,293,760
9Oct 20, 2024 10:055,64153,407,09716,045,0002,005,0002,371,584