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 28, 2024 22:56Joad NacerJoad NacerScore: 4,494Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 28, 2024 22:564,43933,724,83513,192,0001,014,0002,531,328
2Nov 28, 2024 22:564,45938,283,00113,250,0001,019,0002,269,184
3Nov 28, 2024 22:564,48130,918,19912,290,0002,048,0002,428,928
4Nov 28, 2024 22:564,49035,004,99514,368,00002,269,184
5Nov 28, 2024 22:564,49435,078,29914,381,00002,269,184
6Nov 28, 2024 22:564,49645,837,31913,360,0001,027,0002,433,024
7Nov 28, 2024 22:564,49839,908,86114,393,00002,510,848
8Nov 28, 2024 22:564,49829,929,02714,394,00002,531,328
9Nov 28, 2024 22:564,49936,586,61413,370,0001,028,0002,260,992