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 listMar 11, 2025 20:51Drew GarciaDrew GarciaScore: 5,154Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 11, 2025 20:515,13239,259,08816,423,00002,404,352
2Mar 11, 2025 20:515,14833,836,59315,446,0001,029,0002,404,352
3Mar 11, 2025 20:515,15336,911,39315,461,0001,030,0002,269,184
4Mar 11, 2025 20:515,15444,355,64516,494,00002,269,184
5Mar 11, 2025 20:515,18139,210,44915,544,0001,036,0002,269,184
6Mar 11, 2025 20:515,19746,013,03415,590,0001,039,0002,392,064