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 12, 2024 17:00Viktor SuprunViktor SuprunScore: 5,901Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 12, 2024 17:005,88946,228,10018,844,00002,351,104
2Nov 12, 2024 17:005,89337,622,23716,872,0001,985,0002,494,464
3Nov 12, 2024 17:005,89348,985,40716,873,0001,985,0002,498,560
4Nov 12, 2024 17:005,90133,954,54617,890,000993,0002,367,488
5Nov 12, 2024 17:005,90145,037,89617,891,000993,0002,494,464
6Nov 12, 2024 17:005,90152,415,39317,891,000993,0002,351,104
7Nov 12, 2024 17:005,91934,847,58315,950,0002,990,0002,494,464
8Nov 12, 2024 17:005,95048,672,89517,035,0002,004,0002,453,504
9Nov 12, 2024 17:005,95347,646,97216,042,0003,007,0002,367,488