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 listJan 15, 2025 00:58Ian MckibbenIan MckibbenScore: 5,778Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2025 00:595,73235,360,38916,305,0002,038,0002,269,184
2Jan 15, 2025 00:585,76833,031,59317,434,0001,025,0002,289,664
3Jan 15, 2025 00:595,77136,373,08217,442,0001,026,0002,289,664
4Jan 15, 2025 00:585,77838,790,84816,437,0002,054,0002,289,664
5Jan 15, 2025 00:585,79045,311,22317,553,000975,0002,289,664
6Jan 15, 2025 00:595,81338,668,25017,567,0001,033,0002,367,488