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 listJul 28, 2024 08:35BenBenScore: 4,917Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 08:354,90933,515,04215,710,00002,392,064
2Jul 28, 2024 08:354,91334,886,44915,721,00002,527,232
3Jul 28, 2024 08:354,91340,429,40114,674,0001,048,0002,392,064
4Jul 28, 2024 08:354,91444,610,80215,726,00002,379,776
5Jul 28, 2024 08:354,91632,841,59914,683,0001,048,0002,392,064
6Jul 28, 2024 08:354,91631,721,39014,683,0001,048,0002,265,088
7Jul 28, 2024 08:354,91733,977,31514,685,0001,048,0002,265,088
8Jul 28, 2024 08:354,96044,500,70314,880,000992,0002,387,968
9Jul 28, 2024 08:354,97844,999,13614,936,000995,0002,387,968
10Jul 28, 2024 08:355,14563,804,54416,462,72102,281,472
11Jul 28, 2024 08:355,16686,624,33716,531,23002,285,568
12Jul 28, 2024 08:355,18184,903,04816,577,97702,289,664