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 17, 2024 17:29Mikhail ShirokovMikhail ShirokovScore: 4,512Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 17, 2024 17:294,48331,897,44813,320,0001,024,0002,265,088
2Nov 17, 2024 17:294,51233,109,30713,408,0001,031,0002,392,064
3Nov 17, 2024 17:294,51632,744,67613,418,0001,032,0002,527,232