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:43Hayden DonnellyHayden DonnellyScore: 48,888Success
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:4248,749177,288,532122,997,00032,999,0002,285,568
2Nov 27, 2024 16:4248,770181,161,037128,052,00028,011,0002,498,560
3Nov 27, 2024 16:4248,797182,974,864129,124,00027,025,0002,293,760
4Nov 27, 2024 16:4248,822182,710,120126,186,00030,044,0002,293,760
5Nov 27, 2024 16:4248,855178,715,540118,255,00038,082,0002,293,760
6Nov 27, 2024 16:4348,859178,007,709131,294,00025,056,0002,293,760
7Nov 27, 2024 16:4348,888179,591,472119,336,00037,104,0002,502,656
8Nov 27, 2024 16:4248,911179,042,918129,427,00027,089,0002,293,760
9Nov 27, 2024 16:4348,916183,833,167128,437,00028,095,0002,293,760
10Nov 27, 2024 16:4248,938180,887,171137,527,00019,073,0002,293,760
11Nov 27, 2024 16:4248,957185,053,269133,565,00023,097,0002,293,760
12Nov 27, 2024 16:4249,007180,316,975131,851,00024,971,0002,293,760