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 22, 2026 12:29BenBenScore: 17,293Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2026 12:2916,94369,600,25916,065,00038,154,0002,355,200
2Apr 22, 2026 12:2917,13872,630,30914,957,00039,886,0002,351,104
3Apr 22, 2026 12:2917,16374,377,71214,979,00039,944,0002,359,296
4Apr 22, 2026 12:2917,16470,272,39715,978,00038,947,0002,351,104
5Apr 22, 2026 12:2917,29371,646,55616,099,00039,241,0002,359,296
6Apr 22, 2026 12:2917,39374,902,52516,191,00039,467,0002,355,200
7Apr 22, 2026 12:2917,62870,158,53518,132,00038,278,0002,351,104
8Apr 22, 2026 12:2917,79171,386,01118,977,00037,955,0002,310,144
9Apr 22, 2026 12:2917,85071,129,21419,040,00038,080,0002,355,200