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 16, 2026 17:45Victor MerckléVictor MerckléScore: 4,010Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 16, 2026 17:453,99721,484,69012,791,000024,576stderr
2Sep 16, 2026 17:454,00121,458,93112,805,000024,576stderr
3Sep 16, 2026 17:454,00221,493,71612,808,000024,576stderr
4Sep 16, 2026 17:454,00921,523,12312,830,000024,576stderr
5Sep 16, 2026 17:454,01021,538,51812,833,000024,576stderr
6Sep 16, 2026 17:454,03121,608,16712,902,000024,576stderr
7Sep 16, 2026 17:454,03621,984,43712,916,000024,576stderr
8Sep 16, 2026 17:454,04821,701,46612,954,000024,576stderr
9Sep 16, 2026 17:454,06421,785,32313,005,000024,576stderr