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 listApr 10, 2024 17:35emily graceemily graceScore: 5,480Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 17:355,442102,788,92517,413,78302,260,992
2Apr 10, 2024 17:355,46261,543,44217,478,06002,273,280
3Apr 10, 2024 17:355,47162,531,28817,506,23102,269,184
4Apr 10, 2024 17:355,48085,662,46917,535,54502,269,184
5Apr 10, 2024 17:355,50076,484,11417,599,58702,265,088
6Apr 10, 2024 17:355,51590,228,03017,649,31402,273,280