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 20, 2025 17:46jhallgreenjhallgreenScore: 50,206Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 20, 2025 17:4650,093182,757,524129,240,00031,057,0002,322,432
2Dec 20, 2025 17:4650,112182,737,090134,300,00026,058,0002,326,528
3Dec 20, 2025 17:4650,151183,614,872136,411,00024,072,0002,322,432
4Dec 20, 2025 17:4650,184185,097,881135,498,00025,092,0002,269,184
5Dec 20, 2025 17:4650,206188,659,342132,545,00028,115,0002,326,528
6Dec 20, 2025 17:4650,254191,077,356132,847,00027,967,0002,273,280
7Dec 20, 2025 17:4650,259191,182,593131,861,00028,969,0002,273,280
8Dec 20, 2025 17:4650,285184,657,543136,925,00023,986,0002,285,568
9Dec 20, 2025 17:4650,303187,790,902125,975,00034,993,0002,318,336