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 27, 2021 19:47Yuriy LyfenkoYuriy LyfenkoScore: 5,227Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:475,19341,934,75316,618,00002,392,064
2May 27, 2021 19:475,20947,733,26815,627,0001,041,0002,527,232
3May 27, 2021 19:475,20934,054,38415,628,0001,041,0002,265,088
4May 27, 2021 19:475,21146,655,01815,632,0001,042,0002,265,088
5May 27, 2021 19:475,21334,124,19216,682,00002,265,088
6May 27, 2021 19:475,21637,904,29116,690,00002,265,088
7May 27, 2021 19:475,22743,426,93115,681,0001,045,0002,392,064
8May 27, 2021 19:475,27033,665,25815,873,000992,0002,265,088
9May 27, 2021 19:475,27236,704,85415,878,000992,0002,265,088
10May 27, 2021 19:475,60762,017,60617,942,05902,285,568
11May 27, 2021 19:475,62692,363,62818,003,88402,265,088
12May 27, 2021 19:475,64085,725,90618,048,70202,273,280