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 4, 2024 23:11Drew GarciaDrew GarciaScore: 5,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 23:115,54342,907,95816,694,0001,043,0002,273,280
2Apr 4, 2024 23:115,57743,758,78215,864,0001,983,0002,281,472
3Apr 4, 2024 23:115,57847,299,69915,867,0001,983,0002,281,472
4Apr 4, 2024 23:115,57839,305,61115,867,0001,983,0002,281,472
5Apr 4, 2024 23:115,58245,757,64216,869,000992,0002,281,472
6Apr 4, 2024 23:115,58638,620,46515,890,0001,986,0002,281,472
7Apr 4, 2024 23:115,58743,192,56814,898,0002,979,0002,281,472
8Apr 4, 2024 23:115,58735,457,19916,884,000993,0002,265,088
9Apr 4, 2024 23:115,60435,372,90215,942,0001,992,0002,281,472
10Apr 4, 2024 23:115,77690,330,85318,481,64102,187,264
11Apr 4, 2024 23:115,784105,479,85618,507,84602,191,360
12Apr 4, 2024 23:115,85799,297,30418,743,05502,179,072