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 listSep 6, 2024 08:59Joseph KuoJoseph KuoScore: 12,510Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2024 08:5912,44669,404,7779,957,00029,871,0002,293,760
2Sep 6, 2024 08:5912,45166,603,2106,972,00032,871,0002,506,752
3Sep 6, 2024 08:5912,46568,687,8048,975,00030,914,0002,293,760
4Sep 6, 2024 08:5912,47364,673,6507,983,00031,932,0002,293,760
5Sep 6, 2024 08:5912,51067,025,4967,005,00033,026,0002,510,848
6Sep 6, 2024 08:5912,52772,234,9599,019,00031,066,0002,293,760
7Sep 6, 2024 08:5912,53067,216,6037,017,00033,080,0002,510,848
8Sep 6, 2024 08:5912,54663,271,8196,022,00034,125,0002,351,104
9Sep 6, 2024 08:5912,59171,749,6698,058,00032,232,0002,510,848