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 listMay 13, 2021 23:29Yuriy LyfenkoYuriy LyfenkoScore: 5,466Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 23:295,42038,142,11016,324,0001,020,0002,392,064
2May 13, 2021 23:295,43542,509,78716,370,0001,023,0002,523,136
3May 13, 2021 23:295,43634,217,25516,371,0001,023,0002,383,872
4May 13, 2021 23:295,43849,526,11614,331,0003,071,0002,396,160
5May 13, 2021 23:295,44239,494,77116,390,0001,024,0002,260,992
6May 13, 2021 23:295,45432,736,94316,427,0001,026,0002,523,136
7May 13, 2021 23:295,46639,605,06416,463,0001,028,0002,523,136
8May 13, 2021 23:295,46742,337,82917,493,00002,392,064
9May 13, 2021 23:295,47637,231,19316,492,0001,030,0002,510,848
10May 13, 2021 23:295,65663,805,80818,100,29702,281,472
11May 13, 2021 23:295,71078,026,40718,271,37402,281,472
12May 13, 2021 23:295,78873,087,85118,522,20202,269,184