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 listOct 7, 2023 16:29Pavel ZagrebinPavel ZagrebinScore: 5,296Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2023 16:295,26841,802,57815,867,000991,0002,387,968
2Oct 7, 2023 16:295,27143,879,92714,884,0001,984,0002,387,968
3Oct 7, 2023 16:295,27233,175,65314,885,0001,984,0002,383,872
4Oct 7, 2023 16:295,28450,906,60116,909,00002,387,968
5Oct 7, 2023 16:295,28830,756,82915,926,000995,0002,392,064
6Oct 7, 2023 16:295,29434,140,51715,946,000996,0002,498,560
7Oct 7, 2023 16:295,29644,765,23115,951,000996,0002,265,088
8Oct 7, 2023 16:295,29836,719,86815,957,000997,0002,265,088
9Oct 7, 2023 16:295,30436,406,15015,974,000998,0002,387,968
10Oct 7, 2023 16:295,54583,097,35017,744,14902,285,568
11Oct 7, 2023 16:295,54763,007,72517,750,26002,281,472
12Oct 7, 2023 16:295,56093,029,48817,790,83102,269,184