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 listJan 20, 2024 09:04matsuoka-601matsuoka-601Score: 4,855Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 20, 2024 09:044,81030,901,93914,367,0001,026,0002,289,664
2Jan 20, 2024 09:044,81436,440,21914,379,0001,027,0002,289,664
3Jan 20, 2024 09:044,81830,243,01714,389,0001,027,0002,523,136
4Jan 20, 2024 09:044,83336,572,62015,465,00002,269,184
5Jan 20, 2024 09:044,83337,445,70814,435,0001,031,0002,289,664
6Jan 20, 2024 09:044,84732,234,38914,477,0001,034,0002,289,664
7Jan 20, 2024 09:044,85532,931,74714,502,0001,035,0002,273,280
8Jan 20, 2024 09:044,88232,383,61014,581,0001,041,0002,289,664
9Jan 20, 2024 09:044,88433,047,56314,587,0001,041,0002,355,200
10Jan 20, 2024 09:045,05084,303,77116,160,78202,301,952
11Jan 20, 2024 09:045,062105,739,82516,198,41502,293,760
12Jan 20, 2024 09:045,08179,028,02716,259,50802,301,952