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 30, 2021 16:01Yuriy LyfenkoYuriy LyfenkoScore: 5,055Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:015,01441,891,66015,042,0001,002,0002,265,088
2May 30, 2021 16:015,03130,110,42214,087,0002,012,0002,265,088
3May 30, 2021 16:015,03841,737,53614,105,0002,015,0002,265,088
4May 30, 2021 16:015,03935,866,18415,119,0001,007,0002,265,088
5May 30, 2021 16:015,04745,724,23514,131,0002,018,0002,396,160
6May 30, 2021 16:015,04933,665,15714,139,0002,019,0002,392,064
7May 30, 2021 16:015,05546,709,11815,165,0001,011,0002,387,968
8May 30, 2021 16:015,06230,736,84014,173,0002,024,0002,265,088
9May 30, 2021 16:015,06836,928,92414,189,0002,027,0002,265,088
10May 30, 2021 16:015,18787,432,88616,598,75702,240,512
11May 30, 2021 16:015,23177,378,39116,739,50002,277,376
12May 30, 2021 16:015,25887,944,31416,827,03002,281,472