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 listDec 14, 2024 20:35RichardRichardScore: 30,387Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 14, 2024 20:3528,237131,301,95949,195,00041,163,0002,363,392
2Dec 14, 2024 20:3529,968121,413,01244,951,00050,945,0002,375,680
3Dec 14, 2024 20:3530,219127,545,22442,867,00053,833,0002,371,584
4Dec 14, 2024 20:3530,247120,555,94149,892,00046,899,0002,367,488
5Dec 14, 2024 20:3530,387128,056,72547,116,00050,123,0002,375,680
6Dec 14, 2024 20:3530,872130,494,91745,363,00053,428,0002,285,568
7Dec 14, 2024 20:3531,061140,017,22450,692,00048,704,0002,281,472
8Dec 14, 2024 20:3531,635125,906,82348,110,00053,122,0002,281,472
9Dec 14, 2024 20:3532,108140,221,49852,869,00049,877,0002,363,392