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 1, 2026 20:17syllexsyllexScore: 16,233Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 1, 2026 20:1716,11575,790,90128,312,00023,256,0002,387,968
2Apr 1, 2026 20:1716,13780,160,88825,313,00026,326,0002,383,872
3Apr 1, 2026 20:1716,14675,665,22121,275,00030,393,0002,281,472
4Apr 1, 2026 20:1716,15281,851,85827,363,00024,323,0002,387,968
5Apr 1, 2026 20:1716,23378,853,66919,979,00031,967,0002,387,968
6Apr 1, 2026 20:1716,26476,086,61221,018,00031,027,0002,281,472
7Apr 1, 2026 20:1716,27678,169,11921,034,00031,050,0002,281,472
8Apr 1, 2026 20:1716,29871,532,61517,050,00035,104,0002,375,680
9Apr 1, 2026 20:1716,45482,189,00513,163,00039,491,0002,392,064