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 listApr 26, 2026 00:06Uladzislau NestsiarukUladzislau NestsiarukScore: 5,140Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2026 00:065,07037,017,71914,199,0002,028,0002,519,040
2Apr 26, 2026 00:065,10034,449,05415,303,0001,020,0002,535,424
3Apr 26, 2026 00:065,10231,833,34814,287,0002,041,0002,514,944
4Apr 26, 2026 00:065,12731,004,19915,383,0001,025,0002,531,328
5Apr 26, 2026 00:065,14034,518,85915,423,0001,028,0002,514,944
6Apr 26, 2026 00:065,15536,167,16615,466,0001,031,0002,338,816
7Apr 26, 2026 00:065,16334,037,46515,492,0001,032,0002,523,136
8Apr 26, 2026 00:065,18131,861,92715,544,0001,036,0002,514,944
9Apr 26, 2026 00:065,19435,762,76615,584,0001,038,0002,523,136