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 29, 2021 16:52Yuriy LyfenkoYuriy LyfenkoScore: 5,166Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 16:525,12637,467,02816,402,00002,404,352
2May 29, 2021 16:525,13131,586,56016,418,00002,412,544
3May 29, 2021 16:525,13333,389,89915,398,0001,026,0002,281,472
4May 29, 2021 16:525,14034,751,29416,448,00002,281,472
5May 29, 2021 16:525,14839,461,61315,445,0001,029,0002,408,448
6May 29, 2021 16:525,16133,383,53615,484,0001,032,0002,519,040
7May 29, 2021 16:525,16638,642,66115,498,0001,033,0002,281,472
8May 29, 2021 16:525,16933,636,75016,540,00002,281,472
9May 29, 2021 16:525,19752,287,93615,590,0001,039,0002,281,472
10May 29, 2021 16:525,30578,234,55016,974,54102,281,472
11May 29, 2021 16:525,31388,224,37017,000,97102,285,568
12May 29, 2021 16:525,33756,823,97617,078,50402,289,664