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 listDec 21, 2024 23:20KeKazartsevKeKazartsevScore: 46,964Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2024 23:2046,563177,610,272117,002,00032,000,0002,277,376
2Dec 21, 2024 23:2046,849172,804,579115,935,00033,981,0002,285,568
3Dec 21, 2024 23:2046,903173,074,627121,072,00029,017,0002,277,376
4Dec 21, 2024 23:2046,905172,125,162118,077,00032,020,0002,285,568
5Dec 21, 2024 23:2046,964177,660,480124,236,00026,049,0002,285,568
6Dec 21, 2024 23:2047,045171,483,874121,439,00029,105,0002,269,184
7Dec 21, 2024 23:2047,068179,545,278123,506,00027,111,0002,293,760
8Dec 21, 2024 23:2047,078180,246,855124,711,00025,939,0002,269,184
9Dec 21, 2024 23:2047,133184,243,277118,863,00031,963,0002,277,376