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 18:02Joad NacerJoad NacerScore: 4,502Success
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 18:024,48832,564,48713,336,0001,025,0002,428,928
2Nov 29, 2024 18:024,48931,496,20514,365,00002,531,328
3Nov 29, 2024 18:024,49736,749,63914,391,00002,531,328
4Nov 29, 2024 18:024,50128,915,87014,403,00002,433,024
5Nov 29, 2024 18:024,50230,031,88614,405,00002,531,328
6Nov 29, 2024 18:024,50437,001,54514,413,00002,269,184
7Nov 29, 2024 18:024,50535,455,00414,417,00002,437,120
8Nov 29, 2024 18:024,51330,537,54514,442,00002,428,928
9Nov 29, 2024 18:024,67034,121,64613,878,0001,067,0002,269,184