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 24, 2021 14:35Dmitry DolgopolovDmitry DolgopolovScore: 5,229Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 14:355,18733,646,15715,562,0001,037,0002,387,968
2May 24, 2021 14:355,19838,500,05115,593,0001,039,0002,265,088
3May 24, 2021 14:355,20247,443,69716,647,00002,387,968
4May 24, 2021 14:355,21643,942,06715,648,0001,043,0002,265,088
5May 24, 2021 14:355,22043,892,34515,661,0001,044,0002,265,088
6May 24, 2021 14:355,22740,240,43516,725,00002,400,256
7May 24, 2021 14:355,22942,685,19316,734,00002,265,088
8May 24, 2021 14:355,26233,384,44614,858,0001,981,0002,265,088
9May 24, 2021 14:355,26535,358,45514,866,0001,982,0002,531,328
10May 24, 2021 14:355,43659,384,25417,394,31802,281,472
11May 24, 2021 14:355,47474,233,83617,516,04602,273,280
12May 24, 2021 14:355,50279,177,05717,606,14202,281,472