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 29, 2024 16:06Joad NacerJoad NacerScore: 4,478Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 16:064,43332,661,08412,158,0002,026,0002,531,328
2Nov 29, 2024 16:064,43329,457,68412,161,0002,026,0002,433,024
3Nov 29, 2024 16:064,45332,225,23113,233,0001,017,0002,433,024
4Nov 29, 2024 16:064,46230,504,00113,259,0001,019,0002,428,928
5Nov 29, 2024 16:064,47832,076,95014,330,00002,433,024
6Nov 29, 2024 16:064,48931,673,23513,339,0001,026,0002,510,848
7Nov 29, 2024 16:064,49142,207,53114,371,00002,428,928
8Nov 29, 2024 16:064,49236,011,42413,347,0001,026,0002,531,328
9Nov 29, 2024 16:064,49631,284,90414,386,00002,437,120