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 16:35Joad NacerJoad NacerScore: 5,323Success
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 16:355,28940,633,75914,933,0001,991,0002,527,232
2Apr 17, 2024 16:355,29040,481,74014,936,0001,991,0002,527,232
3Apr 17, 2024 16:355,29342,902,15614,945,0001,992,0002,289,664
4Apr 17, 2024 16:355,31638,279,25515,010,0002,001,0002,289,664
5Apr 17, 2024 16:355,31841,381,48415,016,0002,002,0002,289,664
6Apr 17, 2024 16:355,31831,802,59415,016,0002,002,0002,265,088
7Apr 17, 2024 16:355,32339,906,94715,029,0002,003,0002,289,664
8Apr 17, 2024 16:355,33733,738,23715,068,0002,009,0002,273,280
9Apr 17, 2024 16:355,34942,982,73215,104,0002,013,0002,269,184
10Apr 17, 2024 16:355,54079,976,91217,728,83802,301,952
11Apr 17, 2024 16:355,562114,605,19617,798,09702,174,976
12Apr 17, 2024 16:355,57887,047,00017,848,03102,301,952