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:37Keichi TakahashiKeichi TakahashiScore: 5,278Success
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:375,22237,865,73316,710,00002,265,088
2May 30, 2022 13:375,22846,440,56916,730,00002,265,088
3May 30, 2022 13:375,26846,647,46016,859,00002,265,088
4May 30, 2022 13:375,27135,175,87614,883,0001,984,0002,383,872
5May 30, 2022 13:375,27144,151,65514,884,0001,984,0002,387,968
6May 30, 2022 13:375,27250,090,11014,885,0001,984,0002,392,064
7May 30, 2022 13:375,27846,668,65914,902,0001,987,0002,527,232
8May 30, 2022 13:375,27943,679,12215,839,0001,055,0002,396,160
9May 30, 2022 13:375,29851,290,02814,959,0001,994,0002,265,088
10May 30, 2022 13:375,44598,661,99517,423,10702,281,472
11May 30, 2022 13:375,46067,585,28217,470,77102,277,376
12May 30, 2022 13:375,47665,015,41617,522,77202,281,472