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:35AndreyTSAndreyTSScore: 5,278Success
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:355,22746,133,04616,727,00002,527,232
2Jun 8, 2024 21:355,26847,806,53415,865,000991,0002,289,664
3Jun 8, 2024 21:355,27044,067,07514,881,0001,984,0002,527,232
4Jun 8, 2024 21:355,27144,683,66815,874,000992,0002,269,184
5Jun 8, 2024 21:355,27141,466,53614,883,0001,984,0002,273,280
6Jun 8, 2024 21:355,27243,645,14216,869,00002,273,280
7Jun 8, 2024 21:355,27843,089,37215,897,000993,0002,273,280
8Jun 8, 2024 21:355,28045,555,50114,909,0001,987,0002,273,280
9Jun 8, 2024 21:355,28933,800,32514,933,0001,991,0002,371,584
10Jun 8, 2024 21:355,47089,598,35817,503,98002,174,976
11Jun 8, 2024 21:355,476103,018,71317,522,41302,179,072
12Jun 8, 2024 21:355,51482,766,99417,645,64102,179,072