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 25, 2021 14:52Yuriy LyfenkoYuriy LyfenkoScore: 5,126Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 14:525,08350,576,94215,251,0001,016,0002,400,256
2May 25, 2021 14:525,08435,658,64914,236,0002,033,0002,400,256
3May 25, 2021 14:525,08834,321,44116,283,00002,396,160
4May 25, 2021 14:525,10439,841,47614,293,0002,041,0002,265,088
5May 25, 2021 14:525,10838,194,86415,325,0001,021,0002,265,088
6May 25, 2021 14:525,11033,984,65416,352,00002,506,752
7May 25, 2021 14:525,12635,875,25716,402,00002,383,872
8May 25, 2021 14:525,13041,169,86615,391,0001,026,0002,400,256
9May 25, 2021 14:525,14534,513,43516,465,00002,400,256
10May 25, 2021 14:525,29541,915,18516,943,67602,277,376
11May 25, 2021 14:525,32793,048,37817,046,09702,277,376
12May 25, 2021 14:525,33293,800,13617,061,63802,273,280