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 listJun 5, 2021 03:20evgenikwtevgenikwtScore: 5,274Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 03:205,22944,023,71715,688,0001,045,0002,387,968
2Jun 5, 2021 03:205,26742,278,79715,864,000991,0002,392,064
3Jun 5, 2021 03:205,26835,845,36514,873,0001,983,0002,269,184
4Jun 5, 2021 03:205,27346,197,38815,882,000992,0002,265,088
5Jun 5, 2021 03:205,27333,227,76315,882,000992,0002,265,088
6Jun 5, 2021 03:205,27340,480,00314,890,0001,985,0002,383,872
7Jun 5, 2021 03:205,27442,427,62814,893,0001,985,0002,379,776
8Jun 5, 2021 03:205,27942,640,10015,900,000993,0002,506,752
9Jun 5, 2021 03:205,29235,383,76714,941,0001,992,0002,265,088
10Jun 5, 2021 03:205,45980,005,25017,469,20402,289,664
11Jun 5, 2021 03:205,47077,887,43317,503,37902,277,376
12Jun 5, 2021 03:205,48986,628,47017,563,79302,273,280