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 30, 2025 09:01Jeffrey JianJeffrey JianScore: 43,493Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 30, 2025 09:0143,438163,054,482138,000,0001,000,0002,375,680
2Nov 30, 2025 09:0143,455166,780,800138,057,0001,000,0002,387,968
3Nov 30, 2025 09:0143,470163,307,676138,105,0001,000,0002,510,848
4Nov 30, 2025 09:0143,484164,652,691137,146,0002,002,0002,506,752
5Nov 30, 2025 09:0143,493172,328,937138,176,0001,001,0002,519,040
6Nov 30, 2025 09:0143,495167,370,042139,184,00002,379,776
7Nov 30, 2025 09:0143,506161,065,413138,217,0001,001,0002,383,872
8Nov 30, 2025 09:0144,190164,366,328139,402,0002,005,0002,465,792
9Nov 30, 2025 09:0144,826169,293,713143,444,00002,265,088