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 listMay 5, 2025 11:54Aniruddha DebAniruddha DebScore: 4,524Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 5, 2025 11:534,51452,980,55714,446,00002,269,184
2May 5, 2025 11:534,51945,328,38614,460,00002,269,184
3May 5, 2025 11:524,52052,560,53014,464,00002,433,024
4May 5, 2025 11:524,52346,330,82714,474,00002,433,024
5May 5, 2025 11:544,52446,617,26513,442,0001,034,0002,531,328
6May 5, 2025 11:544,52546,111,60214,481,00002,531,328
7May 5, 2025 11:534,52748,014,67514,486,00002,437,120
8May 5, 2025 11:544,52956,134,05713,526,000966,0002,531,328
9May 5, 2025 11:524,57349,157,21313,660,000975,0002,269,184