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 2, 2023 17:31Hal FHal FScore: 4,819Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 17:314,76438,393,16014,228,0001,016,0002,289,664
2Jan 2, 2023 17:314,76634,726,30613,219,0002,033,0002,289,664
3Jan 2, 2023 17:314,77131,643,74713,233,0002,035,0002,281,472
4Jan 2, 2023 17:314,77538,348,60313,242,0002,037,0002,281,472
5Jan 2, 2023 17:314,80239,316,33813,318,0002,048,0002,273,280
6Jan 2, 2023 17:314,80736,670,78013,331,0002,051,0002,285,568
7Jan 2, 2023 17:314,81931,762,67813,365,0002,056,0002,273,280
8Jan 2, 2023 17:314,82944,147,96113,393,0002,060,0002,269,184
9Jan 2, 2023 17:314,84039,748,17314,456,0001,032,0002,265,088
10Jan 2, 2023 17:315,02983,863,06516,091,28802,297,856
11Jan 2, 2023 17:315,03876,170,82016,120,10202,289,664
12Jan 2, 2023 17:315,06186,251,15416,196,10802,297,856