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:03AndreyTSAndreyTSScore: 5,332Success
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:035,28242,963,94414,913,0001,988,0002,269,184
2Jun 8, 2024 21:035,28436,416,26314,920,0001,989,0002,289,664
3Jun 8, 2024 21:035,30541,396,26714,978,0001,997,0002,289,664
4Jun 8, 2024 21:035,30843,952,39914,988,0001,998,0002,289,664
5Jun 8, 2024 21:035,31336,650,95215,002,0002,000,0002,289,664
6Jun 8, 2024 21:035,31443,795,39515,005,0002,000,0002,519,040
7Jun 8, 2024 21:035,33245,115,18315,056,0002,007,0002,387,968
8Jun 8, 2024 21:035,33344,823,75417,067,00002,289,664
9Jun 8, 2024 21:035,35236,527,51815,111,0002,014,0002,531,328
10Jun 8, 2024 21:035,52272,108,59117,671,75802,179,072
11Jun 8, 2024 21:035,53882,365,33217,721,18202,297,856
12Jun 8, 2024 21:035,55190,704,52417,763,42802,297,856