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 listJun 12, 2024 02:50Yuriy LyfenkoYuriy LyfenkoScore: 4,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 02:504,403540,809,77913,084,0001,006,0002,523,136
2Jun 12, 2024 02:504,418541,487,13812,118,0002,019,0002,260,992
3Jun 12, 2024 02:504,434546,616,71112,162,0002,027,0002,523,136
4Jun 12, 2024 02:504,437537,117,98713,185,0001,014,0002,265,088
5Jun 12, 2024 02:504,444543,469,45612,191,0002,031,0002,265,088
6Jun 12, 2024 02:504,452544,415,03312,212,0002,035,0002,527,232
7Jun 12, 2024 02:504,457540,695,01012,224,0002,037,0002,396,160
8Jun 12, 2024 02:504,472544,364,44913,289,0001,022,0002,265,088
9Jun 12, 2024 02:504,522542,037,27713,437,0001,033,0002,265,088
10Jun 12, 2024 02:504,600588,303,78014,720,47802,273,280
11Jun 12, 2024 02:504,625576,049,60714,801,41202,285,568
12Jun 12, 2024 02:504,667580,136,16914,933,94902,277,376