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 18:01Yuriy LyfenkoYuriy LyfenkoScore: 5,574Success
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 18:015,51242,133,27216,601,0001,037,0002,392,064
2May 24, 2021 18:015,51344,817,12216,603,0001,037,0002,527,232
3May 24, 2021 18:015,52534,693,59416,640,0001,040,0002,400,256
4May 24, 2021 18:015,52645,695,52616,644,0001,040,0002,387,968
5May 24, 2021 18:015,52846,977,46316,648,0001,040,0002,400,256
6May 24, 2021 18:015,52848,817,56017,691,00002,265,088
7May 24, 2021 18:015,57445,557,23315,855,0001,981,0002,400,256
8May 24, 2021 18:015,59044,683,64315,901,0001,987,0002,265,088
9May 24, 2021 18:015,59237,607,54716,900,000994,0002,400,256
10May 24, 2021 18:015,75152,287,43418,404,42702,277,376
11May 24, 2021 18:015,75267,304,07218,406,62202,273,280
12May 24, 2021 18:015,76485,350,19518,445,99702,285,568