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 listDec 29, 2025 20:23Mark R BestMark R BestScore: 5,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 20:235,58142,761,87016,866,000992,0002,285,568
2Dec 29, 2025 20:235,58239,498,17115,878,0001,984,0002,285,568
3Dec 29, 2025 20:235,58248,826,61016,871,000992,0002,363,392
4Dec 29, 2025 20:235,58346,916,60516,873,000992,0002,371,584
5Dec 29, 2025 20:235,58743,221,15416,884,000993,0002,359,296
6Dec 29, 2025 20:235,59444,186,90716,907,000994,0002,363,392
7Dec 29, 2025 20:235,60240,837,01715,935,0001,991,0002,367,488
8Dec 29, 2025 20:235,60548,109,06715,944,0001,993,0002,285,568
9Dec 29, 2025 20:235,63250,872,49116,020,0002,002,0002,285,568