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 23, 2025 22:52vahookvahookScore: 4,169Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 22:484,13133,129,95512,202,0001,016,0002,494,464
2Apr 23, 2025 22:524,14135,294,92913,250,00002,531,328
3Apr 23, 2025 22:524,15530,870,36013,295,00002,498,560
4Apr 23, 2025 22:524,15628,429,60513,298,00002,273,280
5Apr 23, 2025 20:174,15932,632,54012,286,0001,023,0002,273,280
6Apr 23, 2025 20:174,16632,356,94613,330,00002,498,560
7Apr 23, 2025 22:484,16930,681,08813,341,00002,498,560
8Apr 23, 2025 20:174,17326,197,66813,354,00002,494,464
9Apr 23, 2025 22:484,17525,886,34613,360,00002,273,280
10Apr 23, 2025 22:524,17530,762,91913,360,00002,273,280
11Apr 23, 2025 22:524,18042,057,89713,376,00002,273,280
12Apr 23, 2025 22:524,18325,718,06813,385,00002,273,280