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 3, 2026 17:05Victor MerckléVictor MerckléScore: 4,086Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2026 17:064,00921,081,59312,830,000024,576stderr
2Sep 3, 2026 17:064,03621,150,16512,917,000024,576stderr
3Sep 3, 2026 17:064,06621,410,76213,012,000024,576stderr
4Sep 3, 2026 17:064,08521,441,65613,075,000024,576stderr
5Sep 3, 2026 17:064,08621,482,28213,078,000024,576stderr
6Sep 3, 2026 17:064,08721,316,76313,081,000024,576stderr
7Sep 3, 2026 17:064,08822,780,33413,084,000024,576stderr
8Sep 3, 2026 17:064,09321,505,34313,098,000024,576stderr
9Sep 3, 2026 17:064,11921,637,87113,183,000024,576stderr