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 18:02Yuriy LyfenkoYuriy LyfenkoScore: 5,622Success
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 18:025,58334,989,72214,889,0002,977,0002,519,040
2May 11, 2021 18:025,59139,255,18915,904,0001,988,0002,519,040
3May 11, 2021 18:025,59841,525,15614,754,0003,161,0002,523,136
4May 11, 2021 18:025,61844,980,69016,980,000998,0002,387,968
5May 11, 2021 18:025,61934,788,91716,983,000999,0002,387,968
6May 11, 2021 18:025,62151,064,82916,988,000999,0002,519,040
7May 11, 2021 18:025,62235,825,46616,991,000999,0002,519,040
8May 11, 2021 18:025,63350,234,57917,024,0001,001,0002,392,064
9May 11, 2021 18:025,64344,287,84615,047,0003,009,0002,469,888
10May 11, 2021 18:025,82058,618,14618,624,55902,277,376
11May 11, 2021 18:025,83889,441,42318,681,34402,285,568
12May 11, 2021 18:025,86694,587,31118,770,28302,277,376