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 20, 2025 20:48Adam FolwarcznyAdam FolwarcznyScore: 4,746Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2025 20:254,71830,795,58514,093,0001,006,0002,273,280
2Apr 20, 2025 20:254,72036,560,65314,097,0001,006,0002,289,664
3Apr 20, 2025 20:254,72035,395,12014,097,0001,006,0002,273,280
4Apr 20, 2025 20:484,72334,275,87413,099,0002,015,0002,289,664
5Apr 20, 2025 20:254,73132,690,37813,122,0002,018,0002,269,184
6Apr 20, 2025 20:254,74339,308,79113,153,0002,023,0002,273,280
7Apr 20, 2025 20:484,74644,915,54113,162,0002,025,0002,269,184
8Apr 20, 2025 20:254,75043,220,59714,187,0001,013,0002,289,664
9Apr 20, 2025 20:254,75436,598,82113,185,0002,028,0002,281,472
10Apr 20, 2025 20:484,75632,337,80913,189,0002,029,0002,281,472
11Apr 20, 2025 20:254,76132,654,46213,204,0002,031,0002,289,664
12Apr 20, 2025 20:254,76438,220,99613,213,0002,032,0002,289,664