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, 2022 13:52Keichi TakahashiKeichi TakahashiScore: 5,362Success
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, 2022 13:525,32344,052,47614,029,0003,006,0002,392,064
2May 30, 2022 13:525,33931,325,36716,081,0001,005,0002,519,040
3May 30, 2022 13:525,34549,177,81316,099,0001,006,0002,519,040
4May 30, 2022 13:525,35332,979,42314,108,0003,023,0002,396,160
5May 30, 2022 13:525,35638,668,01016,132,0001,008,0002,519,040
6May 30, 2022 13:525,35741,861,94116,135,0001,008,0002,392,064
7May 30, 2022 13:525,36236,822,79215,141,0002,018,0002,519,040
8May 30, 2022 13:525,36345,841,56816,151,0001,009,0002,502,656
9May 30, 2022 13:525,44744,492,07515,493,0001,936,0002,375,680
10May 30, 2022 13:525,55996,481,67817,789,42002,281,472
11May 30, 2022 13:525,562105,182,24117,799,46502,281,472
12May 30, 2022 13:525,60175,420,40817,922,95502,281,472