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 listApr 28, 2026 19:18CountHarebourgCountHarebourgScore: 11,149Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2026 19:1811,09351,313,7097,099,00028,399,0002,371,584
2Apr 28, 2026 19:1811,10456,957,7905,076,00030,457,0002,367,488
3Apr 28, 2026 19:1811,11252,629,4204,064,00031,496,0002,306,048
4Apr 28, 2026 19:1811,11353,415,5984,064,00031,500,0002,371,584
5Apr 28, 2026 19:1811,14955,442,07112,233,00023,446,0002,371,584
6Apr 28, 2026 19:1811,22557,667,517035,921,0002,392,064
7Apr 28, 2026 19:1811,27053,053,48011,334,00024,730,0002,310,144
8Apr 28, 2026 19:1811,27952,486,1028,021,00028,073,0002,367,488
9Apr 28, 2026 19:1811,46654,408,1024,077,00032,617,0002,379,776