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 listJan 9, 2025 19:16Ian MckibbenIan MckibbenScore: 13,538Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2025 19:1613,51371,320,30742,236,0001,005,0002,277,376
2Jan 9, 2025 19:1613,51366,674,39841,232,0002,011,0002,289,664
3Jan 9, 2025 19:1613,51465,704,75441,234,0002,011,0002,277,376
4Jan 9, 2025 19:1613,52370,073,44641,262,0002,012,0002,289,664
5Jan 9, 2025 19:1613,53866,534,75041,307,0002,015,0002,289,664
6Jan 9, 2025 19:1613,54666,729,11842,340,0001,008,0002,289,664
7Jan 9, 2025 19:1613,54966,369,05841,341,0002,016,0002,289,664
8Jan 9, 2025 19:1613,55373,039,54542,360,0001,008,0002,289,664
9Jan 9, 2025 19:1613,56470,468,44141,386,0002,018,0002,289,664