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 listNov 6, 2024 00:22Sergey SpiridonovSergey SpiridonovScore: 16,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 00:2215,65475,855,71824,045,00026,049,0002,273,280
2Nov 6, 2024 00:2215,72073,994,99026,158,00024,146,0002,289,664
3Nov 6, 2024 00:2215,83181,728,46125,330,00025,330,0002,269,184
4Nov 6, 2024 00:2216,23379,342,20324,974,00026,972,0002,289,664
5Nov 6, 2024 00:2216,45778,879,67824,305,00028,356,0002,289,664
6Nov 6, 2024 00:2216,46381,917,79923,302,00029,381,0002,281,472
7Nov 6, 2024 00:2216,46884,719,36023,308,00029,389,0002,277,376
8Nov 6, 2024 00:2216,51488,263,63423,930,00028,916,0002,289,664
9Nov 6, 2024 00:2216,52178,252,78627,930,00024,938,0002,289,664