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:59jhallgreenjhallgreenScore: 5,694Success
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:595,66742,127,20917,126,0001,007,0002,510,848
2Dec 20, 2025 17:595,67143,641,23317,140,0001,008,0002,519,040
3Dec 20, 2025 17:595,67643,671,57917,155,0001,009,0002,379,776
4Dec 20, 2025 17:595,68844,416,03415,168,0003,033,0002,387,968
5Dec 20, 2025 17:595,69441,251,56617,210,0001,012,0002,519,040
6Dec 20, 2025 17:595,69632,037,61916,202,0002,025,0002,502,656
7Dec 20, 2025 17:595,70044,334,70217,226,0001,013,0002,379,776
8Dec 20, 2025 17:595,71440,720,84817,270,0001,015,0002,383,872
9Dec 20, 2025 17:595,72142,470,18516,274,0002,034,0002,519,040