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 listMay 18, 2021 14:12Yuriy LyfenkoYuriy LyfenkoScore: 5,272Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 14:125,250989,572,91716,801,00002,527,232
2May 18, 2021 14:125,2512,328,551,30616,803,00002,383,872
3May 18, 2021 14:125,2521,629,072,09513,840,0002,965,0002,523,136
4May 18, 2021 14:125,2543,008,313,63815,825,000989,0002,523,136
5May 18, 2021 14:125,262815,891,48315,849,000990,0002,519,040
6May 18, 2021 14:125,269990,770,10813,887,0002,975,0002,260,992
7May 18, 2021 14:125,272133,883,69115,879,000992,0002,269,184
8May 18, 2021 14:125,2811,867,428,00516,899,00002,519,040
9May 18, 2021 14:125,345800,508,28816,154,000950,0002,519,040
10May 18, 2021 14:125,449568,325,87217,437,46702,277,376
11May 18, 2021 14:125,457390,594,71517,463,90302,273,280
12May 18, 2021 14:125,4731,888,318,17917,513,21002,285,568