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 6, 2021 01:07Yuriy LyfenkoYuriy LyfenkoScore: 5,111Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 01:075,06437,363,86614,181,0002,025,0002,265,088
2Jul 6, 2021 01:075,06846,403,57915,205,0001,013,0002,392,064
3Jul 6, 2021 01:075,07233,854,70315,215,0001,014,0002,265,088
4Jul 6, 2021 01:075,07433,023,40015,224,0001,014,0002,396,160
5Jul 6, 2021 01:075,08540,352,23014,238,0002,034,0002,392,064
6Jul 6, 2021 01:075,09335,410,55814,262,0002,037,0002,265,088
7Jul 6, 2021 01:075,11135,155,75516,354,00002,392,064
8Jul 6, 2021 01:075,11730,855,90915,350,0001,023,0002,396,160
9Jul 6, 2021 01:075,11833,022,57416,377,00002,478,080
10Jul 6, 2021 01:075,25487,641,30616,813,08002,285,568
11Jul 6, 2021 01:075,26482,139,22316,845,81102,281,472
12Jul 6, 2021 01:075,29788,272,59616,949,26202,269,184