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 listOct 28, 2024 19:05RileyRileyScore: 13,398Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 28, 2024 19:0513,38268,759,00741,828,000995,0002,289,664
2Oct 28, 2024 19:0513,39371,703,46941,860,000996,0002,289,664
3Oct 28, 2024 19:0513,39469,019,87840,867,0001,993,0002,289,664
4Oct 28, 2024 19:0513,39868,174,11141,875,000997,0002,531,328
5Oct 28, 2024 19:0513,39876,313,34042,872,00002,289,664
6Oct 28, 2024 19:0513,39869,102,93741,878,000997,0002,265,088
7Oct 28, 2024 19:0513,39968,018,19341,858,0001,020,0002,269,184
8Oct 28, 2024 19:0513,40172,305,35942,882,00002,273,280
9Oct 28, 2024 19:0513,41469,520,06540,930,0001,996,0002,273,280