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 03:44Joad NacerJoad NacerScore: 4,468Success
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 03:444,44029,236,12212,179,0002,029,0002,433,024
2Nov 29, 2024 03:444,44231,870,61712,185,0002,030,0002,428,928
3Nov 29, 2024 03:444,46433,691,72213,265,0001,020,0002,531,328
4Nov 29, 2024 03:444,46831,647,44313,275,0001,021,0002,531,328
5Nov 29, 2024 03:444,46834,606,66513,276,0001,021,0002,428,928
6Nov 29, 2024 03:444,46827,578,26013,277,0001,021,0002,531,328
7Nov 29, 2024 03:444,47428,649,17714,317,00002,531,328
8Nov 29, 2024 03:444,47632,423,29314,323,00002,437,120
9Nov 29, 2024 03:444,48137,883,95113,315,0001,024,0002,531,328