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 listJan 2, 2023 21:52Jack FrigaardJack FrigaardScore: 5,332Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 21:525,29245,108,94314,943,0001,992,0002,285,568
2Jan 2, 2023 21:525,31339,291,98215,003,0002,000,0002,285,568
3Jan 2, 2023 21:525,31742,673,85116,014,0001,000,0002,285,568
4Jan 2, 2023 21:525,32646,211,60515,039,0002,005,0002,285,568
5Jan 2, 2023 21:525,32842,920,90015,044,0002,005,0002,285,568
6Jan 2, 2023 21:525,32938,918,98516,050,0001,003,0002,383,872
7Jan 2, 2023 21:525,33232,364,34115,056,0002,007,0002,383,872
8Jan 2, 2023 21:525,34039,605,46815,077,0002,010,0002,285,568
9Jan 2, 2023 21:525,34636,276,63415,096,0002,012,0002,285,568
10Jan 2, 2023 21:525,52870,176,04117,688,67902,306,048
11Jan 2, 2023 21:525,54488,807,76017,741,04802,297,856
12Jan 2, 2023 21:525,56254,711,56217,797,82302,301,952