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 listJul 28, 2024 09:00BenBenScore: 4,551Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 09:004,52534,243,91613,445,0001,034,0002,265,088
2Jul 28, 2024 09:004,53331,091,78114,507,00002,265,088
3Jul 28, 2024 09:004,53631,474,69313,478,0001,036,0002,379,776
4Jul 28, 2024 09:004,54135,849,16714,532,00002,383,872
5Jul 28, 2024 09:004,54629,517,60713,507,0001,039,0002,265,088
6Jul 28, 2024 09:004,54735,911,08313,511,0001,039,0002,523,136
7Jul 28, 2024 09:004,55139,638,40813,522,0001,040,0002,265,088
8Jul 28, 2024 09:004,55432,202,92913,532,0001,040,0002,379,776
9Jul 28, 2024 09:004,56731,251,56414,613,00002,387,968
10Jul 28, 2024 09:004,78670,425,67715,315,60202,285,568
11Jul 28, 2024 09:004,79282,913,40715,332,99402,285,568
12Jul 28, 2024 09:004,81767,168,79915,413,00202,293,760