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 10:28Victor MerckléVictor MerckléScore: 4,048Success
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 10:284,03421,160,19812,909,000024,576stderr
2Sep 1, 2026 10:284,04421,054,21112,941,000024,576stderr
3Sep 1, 2026 10:284,04521,124,85012,947,000024,576stderr
4Sep 1, 2026 10:284,04521,197,26612,946,000024,576stderr
5Sep 1, 2026 10:284,04821,116,76212,955,000024,576stderr
6Sep 1, 2026 10:284,12521,459,66513,202,000024,576stderr
7Sep 1, 2026 10:284,13621,338,21113,238,000024,576stderr
8Sep 1, 2026 10:284,15121,430,17013,285,000024,576stderr
9Sep 1, 2026 10:284,17223,058,64313,352,000024,576stderr