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 listSep 2, 2026 02:06Victor MerckléVictor MerckléScore: 4,034Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 2, 2026 02:064,01921,227,63212,863,000024,576stderr
2Sep 2, 2026 02:064,02121,146,64212,870,000024,576stderr
3Sep 2, 2026 02:064,02321,515,34712,874,000024,576stderr
4Sep 2, 2026 02:064,02621,158,05812,884,000024,576stderr
5Sep 2, 2026 02:064,03421,194,26712,909,000024,576stderr
6Sep 2, 2026 02:064,03421,180,24012,911,000024,576stderr
7Sep 2, 2026 02:064,03921,237,58312,926,000024,576stderr
8Sep 2, 2026 02:064,04421,320,67712,942,000024,576stderr
9Sep 2, 2026 02:064,08722,725,97513,080,000024,576stderr