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 15:34Yuriy LyfenkoYuriy LyfenkoScore: 5,105Success
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 15:345,06142,009,02714,170,0002,024,0002,265,088
2May 30, 2021 15:345,06743,222,94215,202,0001,013,0002,396,160
3May 30, 2021 15:345,07344,579,35715,219,0001,014,0002,265,088
4May 30, 2021 15:345,07544,713,59214,210,0002,030,0002,400,256
5May 30, 2021 15:345,08434,988,73114,237,0002,033,0002,265,088
6May 30, 2021 15:345,09239,777,30715,276,0001,018,0002,265,088
7May 30, 2021 15:345,10543,565,86016,336,00002,396,160
8May 30, 2021 15:345,10835,220,37216,346,00002,265,088
9May 30, 2021 15:345,12334,538,83515,370,0001,024,0002,387,968
10May 30, 2021 15:345,24784,983,73016,791,98102,277,376
11May 30, 2021 15:345,25877,462,43816,824,71402,277,376
12May 30, 2021 15:345,29976,466,27416,958,08702,256,896