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:11Joad NacerJoad NacerScore: 5,598Success
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:115,57843,316,56815,865,0001,983,0002,289,664
2Apr 17, 2024 17:115,58746,070,90715,893,0001,986,0002,523,136
3Apr 17, 2024 17:115,58745,090,14715,893,0001,986,0002,281,472
4Apr 17, 2024 17:115,59243,395,25415,906,0001,988,0002,265,088
5Apr 17, 2024 17:115,59339,761,87215,910,0001,988,0002,289,664
6Apr 17, 2024 17:115,59450,251,67516,906,000994,0002,273,280
7Apr 17, 2024 17:115,59842,650,07416,861,0001,053,0002,273,280
8Apr 17, 2024 17:115,60141,414,24615,933,0001,991,0002,289,664
9Apr 17, 2024 17:115,63247,004,05916,020,0002,002,0002,273,280
10Apr 17, 2024 17:115,79783,914,69718,550,72802,183,168
11Apr 17, 2024 17:115,83187,840,49618,659,11702,306,048
12Apr 17, 2024 17:115,85490,408,03818,732,48002,297,856