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 5, 2025 16:49CountHarebourgCountHarebourgScore: 4,680Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2025 16:454,65830,780,55713,913,000993,0002,273,280
2Apr 5, 2025 16:424,66633,111,30612,940,0001,990,0002,527,232
3Apr 5, 2025 16:424,67640,595,53812,969,0001,995,0002,289,664
4Apr 5, 2025 16:454,67939,226,00312,977,0001,996,0002,273,280
5Apr 5, 2025 16:454,68041,795,64412,980,0001,996,0002,289,664
6Apr 5, 2025 16:424,69737,983,40213,026,0002,004,0002,281,472
7Apr 5, 2025 16:494,70631,405,16913,051,0002,007,0002,289,664
8Apr 5, 2025 16:494,71438,810,62113,075,0002,011,0002,371,584
9Apr 5, 2025 16:494,73631,240,25514,146,0001,010,0002,289,664