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 30, 2024 10:51AnSaAnSaScore: 4,898Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:514,84536,805,76314,471,0001,033,0002,269,184
2Jun 30, 2024 10:514,85634,042,00115,540,00002,265,088
3Jun 30, 2024 10:514,88535,009,05314,590,0001,042,0002,523,136
4Jun 30, 2024 10:514,88535,276,65714,591,0001,042,0002,289,664
5Jun 30, 2024 10:514,88939,142,64614,603,0001,043,0002,289,664
6Jun 30, 2024 10:514,89542,106,30014,620,0001,044,0002,289,664
7Jun 30, 2024 10:514,89842,690,76914,628,0001,044,0002,289,664
8Jun 30, 2024 10:514,89835,884,58014,629,0001,044,0002,289,664
9Jun 30, 2024 10:514,90133,486,37314,638,0001,045,0002,269,184
10Jun 30, 2024 10:515,12472,282,65816,397,47102,293,760
11Jun 30, 2024 10:515,130100,439,28316,416,79902,285,568
12Jun 30, 2024 10:515,13599,383,37816,431,31602,289,664