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 listJun 19, 2023 17:35Ulyanov AlekseyUlyanov AlekseyScore: 5,705Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 17:355,64543,961,08417,061,0001,003,0002,289,664
2Jun 19, 2023 17:355,66339,485,66517,116,0001,006,0002,289,664
3Jun 19, 2023 17:355,67744,814,00616,148,0002,018,0002,277,376
4Jun 19, 2023 17:355,68740,482,30716,176,0002,022,0002,277,376
5Jun 19, 2023 17:355,69242,212,92216,190,0002,023,0002,273,280
6Jun 19, 2023 17:355,70235,882,36217,234,0001,013,0002,289,664
7Jun 19, 2023 17:355,70534,847,29017,243,0001,014,0002,289,664
8Jun 19, 2023 17:355,73245,966,45716,305,0002,038,0002,289,664
9Jun 19, 2023 17:355,75241,082,29016,360,0002,045,0002,277,376
10Jun 19, 2023 17:355,77781,766,19818,485,91702,297,856
11Jun 19, 2023 17:355,88785,826,14418,838,90802,293,760
12Jun 19, 2023 17:355,89079,384,41318,846,46102,301,952