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 listNov 27, 2024 16:48Hayden DonnellyHayden DonnellyScore: 47,633Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2024 16:4847,616179,243,871125,306,00027,066,0002,486,272
2Nov 27, 2024 16:4847,621179,936,335125,318,00027,068,0002,293,760
3Nov 27, 2024 16:4847,622175,839,452122,314,00030,077,0002,293,760
4Nov 27, 2024 16:4847,630178,444,626123,337,00029,079,0002,293,760
5Nov 27, 2024 16:4847,633173,081,601123,345,00029,081,0002,293,760
6Nov 27, 2024 16:4847,644176,147,336126,383,00026,079,0002,285,568
7Nov 27, 2024 16:4847,793179,087,459132,947,00019,992,0002,293,760
8Nov 27, 2024 16:4847,808178,029,329125,989,00026,997,0002,293,760
9Nov 27, 2024 16:4847,946180,704,947124,347,00029,081,0002,494,464