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 8, 2024 21:02AndreyTSAndreyTSScore: 5,366Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:025,32647,082,56516,040,0001,002,0002,289,664
2Jun 8, 2024 21:025,33934,521,59615,076,0002,010,0002,289,664
3Jun 8, 2024 21:025,34434,822,75815,090,0002,012,0002,273,280
4Jun 8, 2024 21:025,35143,975,72615,110,0002,014,0002,289,664
5Jun 8, 2024 21:025,35444,808,14316,126,0001,007,0002,289,664
6Jun 8, 2024 21:025,36134,131,33416,147,0001,009,0002,293,760
7Jun 8, 2024 21:025,36649,395,33916,162,0001,010,0002,281,472
8Jun 8, 2024 21:025,37732,998,10815,181,0002,024,0002,265,088
9Jun 8, 2024 21:025,44144,884,40215,362,0002,048,0002,289,664
10Jun 8, 2024 21:025,60788,290,62417,941,72402,301,952
11Jun 8, 2024 21:025,62475,495,32617,996,05902,293,760
12Jun 8, 2024 21:025,64683,525,20118,067,33702,297,856