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 20, 2026 16:18Oleg SkinderevOleg SkinderevScore: 5,021Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 16:185,01042,570,06314,031,0002,004,0002,277,376
2Apr 20, 2026 16:185,01042,607,15014,029,0002,004,0002,371,584
3Apr 20, 2026 16:185,01634,840,65814,046,0002,006,0002,387,968
4Apr 20, 2026 16:185,01731,504,95214,049,0002,007,0002,387,968
5Apr 20, 2026 16:185,02132,055,57514,062,0002,008,0002,277,376
6Apr 20, 2026 16:185,03638,626,65714,104,0002,014,0002,383,872
7Apr 20, 2026 16:185,06131,803,55714,172,0002,024,0002,375,680
8Apr 20, 2026 16:185,08038,614,50514,226,0002,032,0002,383,872
9Apr 20, 2026 16:185,10442,389,79114,292,0002,041,0002,383,872