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 02:20jhallgreenjhallgreenScore: 842,768Success
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 02:20837,0992,700,464,9322,494,806,000183,912,0002,457,600
2Dec 20, 2025 02:20838,6402,706,766,4632,497,741,000185,906,0002,523,136
3Dec 20, 2025 02:20839,1412,710,753,4382,470,391,000214,860,0002,355,200
4Dec 20, 2025 02:20840,5112,712,310,9942,511,725,000177,909,0002,404,352
5Dec 20, 2025 02:20842,7682,726,817,0032,524,930,000171,927,0002,449,408
6Dec 20, 2025 02:20843,7872,725,628,3262,504,256,000195,863,0002,498,560
7Dec 20, 2025 02:20846,0482,731,032,2342,515,469,000191,883,0002,375,680
8Dec 20, 2025 02:20846,2942,730,140,1332,511,276,000196,864,0002,510,848
9Dec 20, 2025 02:20846,5842,736,474,1792,533,130,000175,939,0002,416,640