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 listOct 30, 2023 18:54goon-goon-Score: 5,681Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2023 18:545,62443,388,48915,997,0001,999,0002,265,088
2Oct 30, 2023 18:545,64538,445,55217,060,0001,003,0002,527,232
3Oct 30, 2023 18:545,65147,093,12017,078,0001,004,0002,392,064
4Oct 30, 2023 18:545,65547,663,65416,086,0002,010,0002,387,968
5Oct 30, 2023 18:545,65544,045,87616,087,0002,010,0002,265,088
6Oct 30, 2023 18:545,67443,562,86516,140,0002,017,0002,265,088
7Oct 30, 2023 18:545,68143,269,79017,169,0001,009,0002,387,968
8Oct 30, 2023 18:545,68546,202,74417,183,0001,010,0002,379,776
9Oct 30, 2023 18:545,70245,046,70616,219,0002,027,0002,265,088
10Oct 30, 2023 18:545,83481,989,82318,667,22802,273,280
11Oct 30, 2023 18:545,83784,698,57118,679,21002,285,568
12Oct 30, 2023 18:545,86571,185,77418,767,33602,281,472