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:51Joad NacerJoad NacerScore: 4,407Success
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:514,38531,844,30712,029,0002,004,0002,269,184
2Nov 29, 2024 18:514,39026,667,08613,044,0001,003,0002,531,328
3Nov 29, 2024 18:504,39236,383,98713,050,0001,003,0002,531,328
4Nov 29, 2024 18:514,40335,165,22713,082,0001,006,0002,428,928
5Nov 29, 2024 18:504,40730,005,81713,094,0001,007,0002,433,024
6Nov 29, 2024 18:514,41235,525,71913,110,0001,008,0002,269,184
7Nov 29, 2024 18:514,41229,408,58313,109,0001,008,0002,531,328
8Nov 29, 2024 18:514,42629,728,80813,152,0001,011,0002,424,832
9Nov 29, 2024 18:504,52032,522,80914,465,00002,433,024