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 11, 2021 19:31Yuriy LyfenkoYuriy LyfenkoScore: 5,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 19:315,58345,284,68315,881,0001,985,0002,519,040
2May 11, 2021 19:315,58442,577,94315,883,0001,985,0002,519,040
3May 11, 2021 19:315,58545,470,64017,871,00002,392,064
4May 11, 2021 19:315,58534,702,56513,900,0003,971,0002,519,040
5May 11, 2021 19:315,58648,110,79615,888,0001,986,0002,387,968
6May 11, 2021 19:315,58633,908,85816,881,000993,0002,523,136
7May 11, 2021 19:315,58743,207,89116,885,000993,0002,519,040
8May 11, 2021 19:315,58842,309,99014,900,0002,980,0002,379,776
9May 11, 2021 19:315,59746,472,26517,910,00002,379,776
10May 11, 2021 19:315,76181,837,47918,433,61502,281,472
11May 11, 2021 19:315,80655,518,99518,578,59202,277,376
12May 11, 2021 19:315,98591,020,47519,150,56002,269,184