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:56Yuriy LyfenkoYuriy LyfenkoScore: 5,589Success
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:565,54342,127,80216,696,0001,043,0002,392,064
2May 11, 2021 19:565,58239,042,28115,879,0001,984,0002,379,776
3May 11, 2021 19:565,58343,662,63615,881,0001,985,0002,260,992
4May 11, 2021 19:565,58344,893,85115,882,0001,985,0002,383,872
5May 11, 2021 19:565,58437,937,08516,876,000992,0002,379,776
6May 11, 2021 19:565,58443,524,82916,877,000992,0002,387,968
7May 11, 2021 19:565,58943,848,65015,899,0001,987,0002,387,968
8May 11, 2021 19:565,59343,528,62115,908,0001,988,0002,502,656
9May 11, 2021 19:565,59540,237,60716,909,000994,0002,379,776
10May 11, 2021 19:565,747102,566,68618,389,05702,269,184
11May 11, 2021 19:565,77475,722,44718,477,50802,277,376
12May 11, 2021 19:565,78370,633,26618,504,21002,277,376