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 8, 2024 21:55AndreyTSAndreyTSScore: 5,283Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:555,26740,484,92316,854,00002,289,664
2Jun 8, 2024 21:555,26943,366,89216,862,00002,273,280
3Jun 8, 2024 21:555,27138,451,18016,867,00002,289,664
4Jun 8, 2024 21:555,27134,886,12814,884,0001,984,0002,265,088
5Jun 8, 2024 21:555,27242,785,84516,870,00002,289,664
6Jun 8, 2024 21:555,27243,959,99114,886,0001,984,0002,523,136
7Jun 8, 2024 21:555,28349,242,71114,917,0001,988,0002,289,664
8Jun 8, 2024 21:555,28940,418,42614,935,0001,991,0002,289,664
9Jun 8, 2024 21:555,29840,875,36714,960,0001,994,0002,273,280
10Jun 8, 2024 21:555,47072,676,47017,504,55902,301,952
11Jun 8, 2024 21:555,49880,096,36317,593,84002,297,856
12Jun 8, 2024 21:555,51181,854,56717,634,23002,179,072