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 listMay 11, 2021 16:52Sergey StreminSergey StreminScore: 11,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 16:5211,527101,382,32736,886,90702,199,552
2May 11, 2021 16:5211,55879,501,98036,986,31402,203,648
3May 11, 2021 16:5211,574105,527,93237,038,39002,195,456
4May 11, 2021 16:5211,58685,864,07737,074,27102,207,744
5May 11, 2021 16:5211,61384,877,61337,163,04702,207,744
6May 11, 2021 16:5211,67997,103,90637,371,60102,207,744