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 listNov 4, 2023 13:11goon-goon-Score: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 4, 2023 13:115,26736,823,51114,872,0001,983,0002,265,088
2Nov 4, 2023 13:115,27341,244,59815,880,000992,0002,265,088
3Nov 4, 2023 13:115,27445,573,27815,885,000992,0002,265,088
4Nov 4, 2023 13:115,27545,780,49415,887,000992,0002,400,256
5Nov 4, 2023 13:115,28139,901,56014,910,0001,988,0002,383,872
6Nov 4, 2023 13:115,28941,874,55214,935,0001,991,0002,392,064
7Nov 4, 2023 13:115,29842,551,83715,957,000997,0002,392,064
8Nov 4, 2023 13:115,29838,159,78315,958,000997,0002,265,088
9Nov 4, 2023 13:115,30239,764,31214,970,0001,996,0002,498,560
10Nov 4, 2023 13:115,51484,977,77117,643,86502,285,568
11Nov 4, 2023 13:115,51862,734,95517,657,12902,285,568
12Nov 4, 2023 13:115,55084,598,54217,758,64802,273,280