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:52jhallgreenjhallgreenScore: 5,699Success
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:525,68347,615,90416,167,0002,020,0002,383,872
2Dec 20, 2025 17:525,69449,714,28918,220,00002,383,872
3Dec 20, 2025 17:525,69544,284,84217,211,0001,012,0002,510,848
4Dec 20, 2025 17:525,69540,492,09217,211,0001,012,0002,375,680
5Dec 20, 2025 17:525,69947,900,01817,224,0001,013,0002,519,040
6Dec 20, 2025 17:525,72445,260,84516,281,0002,035,0002,379,776
7Dec 20, 2025 17:525,72741,042,08817,307,0001,018,0002,519,040
8Dec 20, 2025 17:525,73149,892,66117,321,0001,018,0002,519,040
9Dec 20, 2025 17:525,76339,712,79217,418,0001,024,0002,510,848