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 22:38jhallgreenjhallgreenScore: 5,505Success
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 22:385,46545,793,35416,460,0001,028,0002,379,776
2Dec 20, 2025 22:365,49540,594,74517,583,00002,510,848
3Dec 20, 2025 22:365,49837,644,99314,490,0003,105,0002,519,040
4Dec 20, 2025 22:385,50548,136,34216,581,0001,036,0002,392,064
5Dec 20, 2025 22:385,51649,337,54517,650,00002,383,872
6Dec 20, 2025 22:365,52043,299,54217,664,00002,510,848