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 12, 2024 03:29Yuriy LyfenkoYuriy LyfenkoScore: 4,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:294,411641,296,21612,100,0002,016,0002,260,992
2Jun 12, 2024 03:294,431639,653,13712,153,0002,025,0002,527,232
3Jun 12, 2024 03:294,433637,879,45713,173,0001,013,0002,260,992
4Jun 12, 2024 03:294,437640,006,48313,183,0001,014,0002,265,088
5Jun 12, 2024 03:294,442645,051,37514,214,00002,523,136
6Jun 12, 2024 03:294,445639,526,78913,209,0001,016,0002,260,992
7Jun 12, 2024 03:294,448638,489,04913,216,0001,016,0002,523,136
8Jun 12, 2024 03:294,470644,829,40413,283,0001,021,0002,523,136
9Jun 12, 2024 03:294,473640,094,75912,270,0002,045,0002,260,992
10Jun 12, 2024 03:294,612681,478,20214,759,00902,277,376
11Jun 12, 2024 03:294,621681,797,24914,787,23202,240,512
12Jun 12, 2024 03:294,649671,989,62314,877,66002,240,512