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:34Hayden DonnellyHayden DonnellyScore: 48,923Success
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:3448,798182,044,583123,122,00033,032,0002,293,760
2Nov 27, 2024 16:3448,884179,213,662131,360,00025,068,0002,502,656
3Nov 27, 2024 16:3448,900183,986,472129,397,00027,083,0002,293,760
4Nov 27, 2024 16:3448,908179,082,075130,420,00026,084,0002,293,760
5Nov 27, 2024 16:3448,923185,768,661123,438,00033,117,0002,293,760
6Nov 27, 2024 16:3448,960182,269,892131,564,00025,107,0002,506,752
7Nov 27, 2024 16:3449,026179,577,182123,909,00032,975,0002,338,816
8Nov 27, 2024 16:3449,048178,757,719134,959,00021,993,0002,293,760
9Nov 27, 2024 16:3449,080183,755,035130,047,00027,009,0002,502,656