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 15, 2024 16:26matsuoka-601matsuoka-601Score: 5,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 16:265,22647,145,59216,723,00002,285,568
2Jan 15, 2024 16:265,27236,736,96214,886,0001,984,0002,527,232
3Jan 15, 2024 16:265,27633,536,06814,896,0001,986,0002,523,136
4Jan 15, 2024 16:265,27636,812,07914,896,0001,986,0002,535,424
5Jan 15, 2024 16:265,27734,572,12714,901,0001,986,0002,269,184
6Jan 15, 2024 16:265,28543,260,54315,855,0001,057,0002,285,568
7Jan 15, 2024 16:265,28833,687,39415,927,000995,0002,285,568
8Jan 15, 2024 16:265,28946,357,00114,935,0001,991,0002,273,280
9Jan 15, 2024 16:265,29544,504,90014,951,0001,993,0002,285,568
10Jan 15, 2024 16:265,43080,276,02717,375,89102,306,048
11Jan 15, 2024 16:265,43491,323,26617,388,58002,306,048
12Jan 15, 2024 16:265,443105,378,55317,419,06602,183,168