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 13, 2021 22:49Yuriy LyfenkoYuriy LyfenkoScore: 5,486Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 22:495,43442,099,84517,389,00002,523,136
2May 13, 2021 22:495,44645,212,24916,403,0001,025,0002,260,992
3May 13, 2021 22:495,45238,934,79617,446,00002,396,160
4May 13, 2021 22:495,45546,804,98216,431,0001,026,0002,387,968
5May 13, 2021 22:495,46641,613,85416,463,0001,028,0002,260,992
6May 13, 2021 22:495,48438,661,11717,549,00002,396,160
7May 13, 2021 22:495,48637,348,28017,554,00002,523,136
8May 13, 2021 22:495,48946,568,02916,531,0001,033,0002,260,992
9May 13, 2021 22:495,50337,249,68315,537,0002,071,0002,392,064
10May 13, 2021 22:495,69097,194,88518,209,22602,277,376
11May 13, 2021 22:495,70486,072,13618,251,84902,273,280
12May 13, 2021 22:495,75480,807,14618,412,62002,281,472