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 10, 2026 16:01Oleg SkinderevOleg SkinderevScore: 2,969,342Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2026 16:012,964,5049,514,341,1199,456,428,00029,985,0002,293,760
2Apr 10, 2026 16:012,968,5749,533,726,2069,461,451,00037,985,0002,281,472
3Apr 10, 2026 16:012,968,8589,527,523,3179,477,358,00022,988,0002,285,568
4Apr 10, 2026 16:012,968,9679,527,924,1279,475,706,00024,988,0002,273,280
5Apr 10, 2026 16:012,969,3429,528,886,6989,462,912,00038,983,0002,289,664
6Apr 10, 2026 16:012,969,8089,531,602,5569,467,405,00035,982,0002,289,664
7Apr 10, 2026 16:012,973,8529,545,296,3189,480,339,00035,986,0002,523,136
8Apr 10, 2026 16:013,023,4339,704,129,7479,635,001,00039,983,0002,281,472
9Apr 10, 2026 16:013,073,5649,863,985,0759,811,417,00023,988,0002,519,040