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 11:51GKP00GKP00Score: 101,940Success
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 11:51101,710352,979,512294,428,00031,045,0002,289,664
2Jan 28, 2026 11:51101,851351,338,314293,931,00031,992,0002,482,176
3Jan 28, 2026 11:51101,903360,844,111294,080,00032,008,0002,301,952
4Jan 28, 2026 11:51101,903348,520,780292,079,00034,009,0002,289,664
5Jan 28, 2026 11:51101,940352,085,979292,187,00034,021,0002,281,472
6Jan 28, 2026 11:51102,236351,921,572295,140,00032,015,0002,289,664
7Jan 28, 2026 11:51102,361359,088,573297,596,00029,959,0002,441,216
8Jan 28, 2026 11:51102,395350,836,032295,697,00031,967,0002,289,664
9Jan 28, 2026 11:51102,557351,618,255275,153,00053,029,0002,424,832