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 09:16AnSaAnSaScore: 5,778Success
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 09:165,73445,335,80218,350,00002,281,472
2Jun 9, 2024 09:165,76146,652,00516,387,0002,048,0002,281,472
3Jun 9, 2024 09:165,76339,748,17617,416,0001,024,0002,273,280
4Jun 9, 2024 09:165,76438,895,66216,395,0002,049,0002,412,544
5Jun 9, 2024 09:165,76735,213,80316,403,0002,050,0002,281,472
6Jun 9, 2024 09:165,76835,962,19617,434,0001,025,0002,281,472
7Jun 9, 2024 09:165,77842,216,84217,464,0001,027,0002,277,376
8Jun 9, 2024 09:165,78736,087,76317,491,0001,028,0002,277,376
9Jun 9, 2024 09:165,88240,000,24816,840,0001,981,0002,281,472
10Jun 9, 2024 09:166,07579,498,05219,438,97402,306,048
11Jun 9, 2024 09:166,08662,589,21919,475,71002,314,240
12Jun 9, 2024 09:166,10391,084,02519,528,79102,301,952