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 27, 2026 19:04Victor MerckléVictor MerckléScore: 11,078Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 19:0410,97956,939,1956,200,00028,935,0002,387,968
2Apr 27, 2026 19:0411,03552,910,2847,062,00028,250,0002,375,680
3Apr 27, 2026 19:0411,04057,159,8687,066,00028,264,0002,326,528
4Apr 27, 2026 19:0411,04754,921,1227,070,00028,283,0002,396,160
5Apr 27, 2026 19:0411,07854,465,6095,064,00030,387,0002,383,872
6Apr 27, 2026 19:0411,14753,597,4647,134,00028,538,0002,396,160
7Apr 27, 2026 19:0411,15653,895,3688,160,00027,540,0002,330,624
8Apr 27, 2026 19:0411,17252,881,4021,986,00033,766,0002,383,872
9Apr 27, 2026 19:0411,18152,633,8974,969,00030,811,0002,392,064