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 26, 2024 10:20Dmitrii KravchenkoDmitrii KravchenkoScore: 4,727Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2024 10:204,71735,988,36613,082,0002,012,0002,277,376
2Nov 26, 2024 10:204,71735,745,34714,088,0001,006,0002,273,280
3Nov 26, 2024 10:204,72035,525,65613,090,0002,013,0002,293,760
4Nov 26, 2024 10:204,72032,016,89214,098,0001,007,0002,293,760
5Nov 26, 2024 10:204,72732,007,63113,109,0002,016,0002,293,760
6Nov 26, 2024 10:204,73132,181,44914,130,0001,009,0002,269,184
7Nov 26, 2024 10:204,73339,309,86615,145,00002,273,280
8Nov 26, 2024 10:204,73635,240,49514,144,0001,010,0002,293,760
9Nov 26, 2024 10:204,73934,746,62913,143,0002,022,0002,285,568