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 17, 2024 17:13Joad NacerJoad NacerScore: 5,589Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 17:135,57344,989,91915,851,0001,981,0002,289,664
2Apr 17, 2024 17:135,58045,839,68616,865,000992,0002,289,664
3Apr 17, 2024 17:135,58344,885,83215,882,0001,985,0002,273,280
4Apr 17, 2024 17:135,58344,051,79015,882,0001,985,0002,289,664
5Apr 17, 2024 17:135,58550,277,84516,879,000992,0002,289,664
6Apr 17, 2024 17:135,58745,086,28116,885,000993,0002,289,664
7Apr 17, 2024 17:135,58941,029,25315,898,0001,987,0002,523,136
8Apr 17, 2024 17:135,59946,176,98216,863,0001,053,0002,289,664
9Apr 17, 2024 17:135,61543,921,76716,971,000998,0002,289,664
10Apr 17, 2024 17:135,78396,147,35918,504,46702,256,896
11Apr 17, 2024 17:135,80186,513,98418,562,23502,174,976
12Apr 17, 2024 17:135,83796,314,24418,679,37202,179,072