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:47AndreyTSAndreyTSScore: 5,981Success
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:475,91549,376,55416,936,0001,992,0002,265,088
2Jun 8, 2024 21:475,94934,537,89617,034,0002,004,0002,289,664
3Jun 8, 2024 21:475,95553,880,23117,051,0002,006,0002,289,664
4Jun 8, 2024 21:475,95844,954,09718,061,0001,003,0002,273,280
5Jun 8, 2024 21:475,96043,729,13517,065,0002,007,0002,269,184
6Jun 8, 2024 21:475,96248,370,59817,069,0002,008,0002,355,200
7Jun 8, 2024 21:475,98147,396,33817,124,0002,014,0002,523,136
8Jun 8, 2024 21:475,98551,641,52117,137,0002,016,0002,289,664
9Jun 8, 2024 21:475,99134,386,39418,163,0001,009,0002,383,872
10Jun 8, 2024 21:476,16893,803,53219,739,05702,301,952
11Jun 8, 2024 21:476,17790,775,55019,765,66702,301,952
12Jun 8, 2024 21:476,19695,494,87519,827,94102,293,760