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 listOct 5, 2026 18:27FrederickFrederickScore: 5,381Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 18:295,0106,024,969,58212,783,0003,251,00020,480
2Oct 5, 2026 18:295,0566,025,059,67512,861,0003,319,00020,480
3Oct 5, 2026 18:295,1876,025,602,86212,856,0003,743,00020,480
4Oct 5, 2026 18:295,1996,025,639,11112,844,0003,793,00020,480
5Oct 5, 2026 18:295,3816,026,283,89612,791,0004,430,00020,480
6Oct 5, 2026 18:295,4006,026,217,93713,051,0004,230,00020,480
7Oct 5, 2026 18:295,4476,026,502,30812,885,0004,546,0002,113,536
8Oct 5, 2026 18:295,6036,027,003,36912,893,0005,037,00020,480
9Oct 5, 2026 18:295,6236,026,866,39212,984,0005,011,00020,480