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:35Hayden DonnellyHayden DonnellyScore: 49,005Success
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:3548,839183,559,625128,234,00028,051,0002,506,752
2Nov 27, 2024 16:3548,897181,308,478124,375,00032,096,0002,293,760
3Nov 27, 2024 16:3548,949183,254,610135,552,00021,085,0002,293,760
4Nov 27, 2024 16:3548,954183,483,617127,532,00029,121,0002,342,912
5Nov 27, 2024 16:3549,005179,407,847129,848,00026,968,0002,293,760
6Nov 27, 2024 16:3549,007181,014,919127,854,00028,967,0002,293,760
7Nov 27, 2024 16:3549,007182,808,618129,854,00026,969,0002,506,752
8Nov 27, 2024 16:3549,023183,017,441127,896,00028,976,0002,506,752
9Nov 27, 2024 16:3549,149180,059,404127,225,00030,053,0002,293,760