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 3, 2026 17:07TudyMTudyMScore: 5,272Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2026 17:125,23735,452,13515,699,0001,060,0002,367,488
2May 3, 2026 17:125,24634,736,57015,723,0001,065,0002,371,584
3May 3, 2026 17:125,24635,484,12715,729,0001,059,0002,379,776
4May 3, 2026 17:125,27035,567,82715,798,0001,068,0002,379,776
5May 3, 2026 17:125,27234,101,10715,798,0001,075,0002,359,296
6May 3, 2026 17:125,29034,797,91915,855,0001,076,0002,383,872
7May 3, 2026 17:125,29733,765,98715,863,0001,088,0002,363,392
8May 3, 2026 17:125,30735,266,81415,789,0001,195,0002,363,392
9May 3, 2026 17:125,30733,396,51515,916,0001,068,0002,367,488