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 23, 2024 00:31MatthiasMatthiasScore: 5,706Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 00:315,67241,061,03316,134,0002,016,0002,269,184
2Nov 23, 2024 00:315,68643,372,43516,175,0002,021,0002,289,664
3Nov 23, 2024 00:315,69340,647,66316,194,0002,024,0002,289,664
4Nov 23, 2024 00:315,69433,729,00716,197,0002,024,0002,273,280
5Nov 23, 2024 00:315,70638,734,08017,245,0001,014,0002,392,064
6Nov 23, 2024 00:315,71235,589,73116,248,0002,031,0002,273,280
7Nov 23, 2024 00:315,71339,156,69116,252,0002,031,0002,285,568
8Nov 23, 2024 00:315,72240,691,82016,277,0002,034,0002,289,664
9Nov 23, 2024 00:315,74144,614,99718,371,00002,289,664