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 14, 2024 05:49AnSaAnSaScore: 5,768Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 14, 2024 05:495,73642,331,70915,297,0003,059,0002,277,376
2Jun 14, 2024 05:495,73740,982,74816,319,0002,039,0002,273,280
3Jun 14, 2024 05:495,74343,295,43915,314,0003,062,0002,277,376
4Jun 14, 2024 05:495,75039,499,91417,378,0001,022,0002,281,472
5Jun 14, 2024 05:495,75833,898,39817,403,0001,023,0002,277,376
6Jun 14, 2024 05:495,76240,333,60417,414,0001,024,0002,523,136
7Jun 14, 2024 05:495,76840,979,49117,433,0001,025,0002,277,376
8Jun 14, 2024 05:495,76841,014,37417,434,0001,025,0002,392,064
9Jun 14, 2024 05:495,76937,766,68916,409,0002,051,0002,273,280
10Jun 14, 2024 05:496,02191,651,64619,268,21502,297,856
11Jun 14, 2024 05:496,04569,081,12319,345,49602,306,048
12Jun 14, 2024 05:496,08697,761,43919,476,77002,174,976