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 listJul 27, 2024 18:42HuynhHuynhScore: 5,602Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 18:425,58741,725,18016,886,000993,0002,437,120
2Jul 27, 2024 18:425,58841,616,99915,895,0001,986,0002,433,024
3Jul 27, 2024 18:425,58941,124,84216,891,000993,0002,437,120
4Jul 27, 2024 18:425,59536,494,53113,925,0003,978,0002,428,928
5Jul 27, 2024 18:425,59733,243,94616,916,000995,0002,269,184
6Jul 27, 2024 18:425,59846,035,41116,918,000995,0002,437,120
7Jul 27, 2024 18:425,60235,480,70417,927,00002,269,184
8Jul 27, 2024 18:425,60535,741,99615,943,0001,992,0002,269,184
9Jul 27, 2024 18:425,60738,016,93415,949,0001,993,0002,433,024
10Jul 27, 2024 18:425,81583,445,86018,609,41302,187,264
11Jul 27, 2024 18:425,84380,271,23118,697,02802,191,360
12Jul 27, 2024 18:425,85878,135,95518,746,40002,187,264