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 28, 2026 12:16GKP00GKP00Score: 20,243Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2026 12:1619,79690,395,32932,176,00031,171,0002,498,560
2Jan 28, 2026 12:1619,96389,052,75530,943,00032,939,0002,281,472
3Jan 28, 2026 12:1620,13392,330,60229,192,00035,232,0002,289,664
4Jan 28, 2026 12:1620,23390,725,24532,870,00031,874,0002,281,472
5Jan 28, 2026 12:1620,24391,379,36632,887,00031,890,0002,322,432
6Jan 28, 2026 12:1620,24885,001,15930,901,00033,891,0002,281,472
7Jan 28, 2026 12:1620,33489,007,14032,034,00033,035,0002,289,664
8Jan 28, 2026 12:1620,50392,092,56936,338,00029,272,0002,502,656
9Jan 28, 2026 12:1620,67494,988,22531,074,00035,083,0002,498,560