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 12:42BenBenScore: 4,653Success
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 12:424,64038,213,29213,859,000989,0002,265,088
2Jul 28, 2024 12:424,64737,270,74013,879,000991,0002,265,088
3Jul 28, 2024 12:424,64833,541,12913,884,000991,0002,379,776
4Jul 28, 2024 12:424,64930,059,21213,886,000991,0002,392,064
5Jul 28, 2024 12:424,65044,661,55612,897,0001,984,0002,265,088
6Jul 28, 2024 12:424,65130,974,26812,899,0001,984,0002,392,064
7Jul 28, 2024 12:424,65330,124,80213,899,000992,0002,260,992
8Jul 28, 2024 12:424,66531,349,11612,938,0001,990,0002,383,872
9Jul 28, 2024 12:424,66744,091,76112,943,0001,991,0002,469,888
10Jul 28, 2024 12:424,845100,623,78815,502,84702,265,088
11Jul 28, 2024 12:424,85477,019,35815,532,39902,273,280
12Jul 28, 2024 12:424,87288,968,70215,590,23302,265,088