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:35Uladzislau NestsiarukUladzislau NestsiarukScore: 5,029Success
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:384,98541,073,44914,956,000997,0002,519,040
2Apr 26, 2026 00:385,00337,476,95614,010,0002,001,0002,514,944
3Apr 26, 2026 00:385,01935,748,38513,050,0003,011,0002,519,040
4Apr 26, 2026 00:385,02132,755,46715,064,0001,004,0002,527,232
5Apr 26, 2026 00:385,02931,946,57214,083,0002,011,0002,519,040
6Apr 26, 2026 00:385,03034,877,14914,086,0002,012,0002,338,816
7Apr 26, 2026 00:385,03731,512,81715,113,0001,007,0002,506,752
8Apr 26, 2026 00:385,05233,492,55414,147,0002,021,0002,523,136
9Apr 26, 2026 00:385,06228,872,45713,162,0003,037,0002,531,328