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 15, 2021 21:43Yuriy LyfenkoYuriy LyfenkoScore: 5,487Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 21:435,44241,058,64416,389,0001,024,0002,400,256
2May 15, 2021 21:435,44944,990,16117,437,00002,392,064
3May 15, 2021 21:435,45038,574,76716,414,0001,025,0002,392,064
4May 15, 2021 21:435,46034,901,01917,473,00002,506,752
5May 15, 2021 21:435,46233,824,11617,478,00002,387,968
6May 15, 2021 21:435,46643,533,56014,404,0003,086,0002,265,088
7May 15, 2021 21:435,48747,785,26117,558,00002,519,040
8May 15, 2021 21:435,49944,687,34816,561,0001,035,0002,396,160
9May 15, 2021 21:435,52845,138,94517,689,00002,519,040
10May 15, 2021 21:435,72377,351,96418,314,06002,293,760
11May 15, 2021 21:435,72390,179,46818,313,23502,285,568
12May 15, 2021 21:435,78484,817,00118,508,82602,269,184