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 1, 2026 12:12Victor MerckléVictor MerckléScore: 4,222Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2026 12:134,21021,785,70013,474,00002,117,632stderr
2Sep 1, 2026 12:134,21721,749,72313,497,00002,117,632stderr
3Sep 1, 2026 12:134,21821,798,70313,498,00002,117,632stderr
4Sep 1, 2026 12:134,21921,772,05613,501,00002,117,632stderr
5Sep 1, 2026 12:134,22221,849,26613,512,00002,117,632stderr
6Sep 1, 2026 12:134,22521,832,82113,521,00002,117,632stderr
7Sep 1, 2026 12:134,23021,795,65713,536,00002,117,632stderr
8Sep 1, 2026 12:134,23321,859,57313,548,00002,117,632stderr
9Sep 1, 2026 12:134,23721,875,57613,559,00002,117,632stderr