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 listMar 7, 2024 07:52Huy Duc LeHuy Duc LeScore: 4,664Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 7, 2024 07:524,60344,165,39513,679,0001,052,0002,265,088
2Mar 7, 2024 07:524,64434,329,12712,881,0001,981,0002,383,872
3Mar 7, 2024 07:524,64630,252,60112,884,0001,982,0002,392,064
4Mar 7, 2024 07:524,64735,100,68913,880,000991,0002,383,872
5Mar 7, 2024 07:524,64938,793,33214,878,00002,265,088
6Mar 7, 2024 07:524,65343,073,62213,896,000992,0002,383,872
7Mar 7, 2024 07:524,66440,841,56312,935,0001,990,0002,519,040
8Mar 7, 2024 07:524,67132,564,54713,950,000996,0002,527,232
9Mar 7, 2024 07:524,69241,933,64513,013,0002,002,0002,265,088
10Mar 7, 2024 07:524,85789,980,00815,541,11402,293,760
11Mar 7, 2024 07:524,88593,703,80315,633,44402,289,664
12Mar 7, 2024 07:524,90283,888,41815,685,54802,281,472